Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 22, 2024Nov 22 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}
November 22, 2024Nov 22 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.
November 22, 2024Nov 22 Author 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.
November 22, 2024Nov 22 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.
November 22, 2024Nov 22 Author 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.
November 25, 2024Nov 25 Author So I let it collect logs over the weekend. Unfortunately, there was no additional information in the error messages.