Notifications
Clear all

PHP Warning "Undefined property: stdClass::$ID" with wpforo/includes/hooks.php

7 Posts
2 Users
0 Reactions
6,062 Views
Posts: 78
Topic starter
(@hbk747)
Estimable Member
Joined: 2 years ago

Hello,

I am writing to report a recurring issue with the wpForo plugin that is causing my website to intermittently display a blank page.

I have performed a thorough server-side analysis, and the PHP logs show a specific warning that correlates with the moments the blank page appears.

 

Website Information

 

  • Website URL: ParadigmShift.com.pk

  • Hosting Provider: Cloudways

  • Active Plugin: wpForo

  • Theme: Astra

 

My website intermittently shows a blank page to visitors. During these times, the server logs record a PHP warning related to your plugin. This is a very serious issue, as it is a strong indicator of a fatal error that is halting script execution.

 

The server logs on my Cloudways dashboard show the following error at the time of the blank page events:

PHP Warning: Undefined property: stdClass::$ID in /home/601622.cloudwaysapps.com/pcupncbqaz/public_html/wp-content/plugins/wpforo/includes/hooks.php on line 2078

This warning indicates that the plugin is attempting to access a variable ($ID) that is not defined, which can lead to a fatal error.Β 


6 Replies
Posts: 78
Topic starter
(@hbk747)
Estimable Member
Joined: 2 years ago

The error appears constantly in my error logs. I have attached the error log as well.

 

Please fix this. I have asked a few devs and they are saying that this can sometimes lead to a WSOD.


Reply
5 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5543

@hbk747Β 

I've already asked the developers to check the issue. I'll update this topic once I get a response from themΒ 


Reply
(@hbk747)
Joined: 2 years ago

Estimable Member
Posts: 78

@sofy Thanks. I am waiting!


Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5543

@hbk747Β 

We don't find such an issue on our test websites. Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you.


Reply
(@hbk747)
Joined: 2 years ago

Estimable Member
Posts: 78

@sofy I sent the email to the team.


Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5543

@hbk747Β 

The developers haven’t encountered any white screen errors or other issues.
These warnings are not actually related to the wpForo plugin. In the WordPress user object, the ID variable was not found.

Most likely, one of the active plugins is causing the issue. Please deactivate all plugins and check again. Then, activate them one by one, checking after each activation to identify the problem plugin.


Reply