Runtime Exception during setup:di:compile in Magento 2.2.5

by David A.   Last Updated September 06, 2018 21:09 PM

The issue started when I was attempting to enter production mode with

php bin/magento deploy:mode:set production

Upon researching the issue, I attempted to see if the error gave more information when I tried to compile without entering production mode.

Here is the error I received.

error message

Any thoughts on the next steps I can take to resolve this? The ultimate goal is to be able to switch to production mode, but this compiling issue seems to be what is preventing me.

Related Questions

Get Magento 2 mode programatically

Updated July 27, 2017 05:09 AM

CSS and JS files not loading in Production mode

Updated March 01, 2017 12:09 PM