CheersnGears Posted 6 hours ago Posted 6 hours ago I'm getting this error repeatedly in my log files triggered by Guest and with no URL available. Â Error: Undefined constant "ROOT_PATH" (0) #0 {main} #0 /var/www/vhosts/cheersandgears.com/httpdocs/init.php(1049): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Â
Jim M Posted 6 hours ago Posted 6 hours ago ROOT_PATH should be defined in the init.php as the PHP __DIR__ and that is used in our software. Third party applications/plugins should be using a separate constant. Does the error list third party applications/plugins? If so, you can try disabling those.
CheersnGears Posted 5 hours ago Author Posted 5 hours ago 2 minutes ago, Jim M said: ROOT_PATH should be defined in the init.php as the PHP __DIR__ and that is used in our software. Third party applications/plugins should be using a separate constant. Does the error list third party applications/plugins? If so, you can try disabling those. It doesn't list anything 😞.  What I posted above and this below is all I get. The log entry was triggered by a guest (Guests) 21 hours ago The URL of page the error occurred on was Not available I turned my logging up to level 1, see if I get more information that way.Â
Jim M Posted 5 hours ago Posted 5 hours ago Is this something you can run into yourself by viewing as a guest? I have also tagged this to a developer to see if they can shed some light here.
CheersnGears Posted 5 hours ago Author Posted 5 hours ago 11 minutes ago, Jim M said: Is this something you can run into yourself by viewing as a guest? I have also tagged this to a developer to see if they can shed some light here. I opened a private windows and bounced around the site a bit but it didn't seem to catch anything.  I'll watch it for a bit.  Apparently it's been going on for a few weeks and I didn't catch it. It can't be that harmful.
Recommended Posts