wp 5.9, gamipress 2.2.4 (fatal error)
-
Hello,
Though everything is apparently looking fine with debug mode off, I am having a fatal error when calling the tools menu page.
With debug_mode : on
Fatal error: Uncaught Error: Undefined constant "DB_HOST" in /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/includes/admin/tools/system-info.php:437 Stack trace: #0 /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/includes/admin/tools/system-info.php(39): gamipress_get_hosting_provider() #1 /home/capables/sites/fr.capables.test/capables/wp-includes/class-wp-hook.php(307): gamipress_system_info_tool_meta_boxes() #2 /home/capables/sites/fr.capables.test/capables/wp-includes/plugin.php(189): WP_Hook->apply_filters() #3 /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/includes/admin/pages/tools.php(57): apply_filters() #4 /home/capables/sites/fr.capables.test/capables/wp-includes/class-wp-hook.php(307): gamipress_register_tools_page() #5 /home/capables/sites/fr.capables.test/capables/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /home/capables/sites/fr.capables.test/capables/wp-includes/plugin.php(474): WP_Hook->do_action() #7 /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/libraries/cmb2/bootstrap.php(26): do_action() #8 /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/libraries/cmb2/init.php(165): cmb2_bootstrap() #9 /home/capables/sites/fr.capables.test/capables/wp-includes/class-wp-hook.php(307): CMB2_Bootstrap_290->include_cmb() #10 /home/capables/sites/fr.capables.test/capables/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #11 /home/capables/sites/fr.capables.test/capables/wp-includes/plugin.php(474): WP_Hook->do_action() #12 /home/capables/sites/fr.capables.test/capables/wp-settings.php(587): do_action() #13 /home/capables/sites/fr.capables.test/capables/wp-config.php(106): require_once('...') #14 /home/capables/sites/fr.capables.test/capables/wp-load.php(50): require_once('...') #15 /home/capables/sites/fr.capables.test/capables/wp-admin/admin.php(34): require_once('...') #16 {main} thrown in /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/includes/admin/tools/system-info.php on line 437
With debug mode on, I also have warnings on different menus :
Under edit point types menu / points display options :
Deprecated: Required parameter $i follows optional parameter $args in /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/libraries/cmb2/includes/types/CMB2_Type_Multi_Base.php on line 34
Same message under points award / limit type (also points deduct / steps / requirements):
Deprecated: Required parameter $i follows optional parameter $args in /home/capables/sites/fr.capables.test/capables/wp-content/plugins/gamipress/libraries/cmb2/includes/types/CMB2_Type_Multi_Base.php on line 34
Again this is a local install on a lamp server, wordpress installed and updated with wpcli. I have tried to reinstall the plugin both from wp-cli, and by reinstalling the archive manually.
Thanks,
- The topic ‘wp 5.9, gamipress 2.2.4 (fatal error)’ is closed to new replies.