Occasionally some websites display the following error message on thier guestbook.
Warning: Creating default object from empty value in /home/yoursite/public_html/wp-includes/capabilities.php on line 655
It does not effect the functionality of the guestbook, but it can be annoying sometimes. If your site is displaying this error, you can disable the message by doing the following.
- Open the “wp-config.php” configuration file with an editor.
- Scroll to the bottom of the file and add the following two PHP directives to turn error reporting off and suppress the display of error messages to the screen.
error_reporting(0); @ini_set(‘display_errors’, 0);
This error message is an issue that the plugin WP-ViperGB also has. Since Rizzi-Guestbook was built from the WP-ViperGB source code, it has the same issue. If you are using WP-ViperGB and you are experiencing a similar issue that Rizzi-Guestbook has, you can fix it the same way.
If know what is causing the error message or you have any advice as to how to fix this issue, please let me know. You can click here to send me a message, or you can reply to this post.
Thank you. I hope this is helpful to those experiencing this issue.
- The topic ‘Guestbook Error Message’ is closed to new replies.