PDA

View Full Version : PHP error in the logs


lange
08-26-2021, 12:44 PM
Hi,

How to identify / find the plugin that gives the following PHP (7.4.19) error under vB5?

Under vB3 & vB4, this plugin (https://vborg.vbsupport.ru/showthread.php?p=2214603#post2214603) helps a lot but there is no vB5 version.

[25-Aug-2021 02:49:49 UTC] PHP Warning: Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP) in /home/xxxxxx/public_html/xxxxxx/includes/vb5/template.php(399) : eval()'d code on line 296


Best Regards

Hostboard
09-01-2021, 08:14 PM
Disable 1 at a time until the error goes away.
And this is only a warning and should not impact the operation of your site.

lange
09-01-2021, 08:20 PM
Thanks, it's fixed (https://forum.vbulletin.com/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/4460488-php-error-in-the-logs) now.