Issues with the Groovy Menu plugin potentially affecting site performance and functionality. Both issues may be contributing to timeout errors during menu saving and when running scripts in FastCGI PHP. These require urgent attention and likely an update.
A. Undefined Property Warning in AdminWalker.php
Recurring PHP warnings are appearing in my logs:
PHP Warning: Undefined property: stdClass::$ID in /home/mydomain.com/domains/mydomain.com/public_html/wp-content/plugins/groovy-menu/includes/modules/walkers/inc/AdminWalker.php on line 114
PHP Warning: Undefined property: stdClass::$ID in /home/mydomain.com/domains/mydomain.com/public_html/wp-content/plugins/groovy-menu/includes/modules/walkers/inc/AdminWalker.php on line 115
These warnings occur when saving menus. The $menu_item object doesn’t have the ID property, which could be causing issues with the menu-saving process. The code in AdminWalker.php is:
$menu_item->is_megamenu = get_post_meta( $menu_item->ID, self::IS_MEGAMENU_META, true );
$menu_item->is_show_featured_image = get_post_meta( $menu_item->ID, self::IS_SHOW_FEATURED_IMAGE, true );
Please resolve this issue to prevent potential timeout and menu-saving errors.
B. Deprecated Dynamic Property Warning in Metadata.php
I’m seeing this PHP deprecation warning:
PHP Deprecated: Creation of dynamic property Puc_v4p11_Plugin_Info::$request_time_elapsed is deprecated in /home/mydomain.com/domains/mydomain.com/public_html/wp-content/plugins/groovy-menu/vendouc/v4p11/Metadata.php on line 47
This deprecated behavior is not compatible with PHP 8.3 and may cause future compatibility issues with newer PHP versions.
Request:
Please investigate and resolve these issues:
a. Fix the undefined property warnings in AdminWalker.php.
b. Address the deprecated dynamic property in Metadata.php.
An update is required to fix & ensure continued compatibility with PHP 8.3 and beyond.