Closed beckej13820 closed 7 months ago
Thanks for the report. For the time being, you should disable PHP errors from being displayed on your site:
define( 'WP_DEBUG', false );
// or perhaps you will need
error_reporting( 0 );
This should be resolved by the above commits.
Just did a fresh install of OpenLab:
WordPress version 6.3.2 PHP 8.0
-- The menu that is causing the issue is the automatically generated side menu that is visible on the about page.
I've confirmed that this is a PHP issue by rolling the site back to 7.4, and there is no error, and then by returning to 8.0 where the errors appear again.
Copy and Paste from error logs:
[04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:09:20 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:18:24 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:19:47 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1328 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined variable $parent in /home/binghamtonsunycr/public_html/wp-content/themes/openlab-theme/lib/menus.php on line 1333 [04-Dec-2023 19:22:57 UTC] PHP Warning: Undefined property: stdClass::$current in /home/binghamtonsunycr/public_html/wp-includes/class-walker-nav-menu.php on line 234