• Resolved abbydigital

    (@abbydigital)


    An error is also showing on the Licenses page for Gamipress. First, here is the error reported by WordPress:

    Error Details
    =============
    An error of type E_ERROR was caused in line 43 of the file /home/centu565/public_html/wp-content/plugins/gamipress/includes/shortcodes/shortcode.php. Error message: Uncaught Error: Class ‘CMB2_hookup’ not found in /home/centu565/public_html/wp-content/plugins/gamipress/includes/shortcodes/shortcode.php:43
    Stack trace:
    #0 /home/centu565/public_html/wp-content/plugins/gamipress/includes/shortcodes/shortcodes-editor.php(222): GamiPress_Shortcode->show_form()
    #1 /home/centu565/public_html/wp-content/plugins/gamipress/includes/shortcodes/shortcodes-editor.php(206): GamiPress_Shortcodes_Editor->get_shortcode_section(Object(GamiPress_Shortcode))
    #2 /home/centu565/public_html/wp-content/plugins/gamipress/includes/shortcodes/shortcodes-editor.php(121): GamiPress_Shortcodes_Editor->get_shortcode_sections()
    #3 /home/centu565/public_html/wp-includes/class-wp-hook.php(288): GamiPress_Shortcodes_Editor->render_modal(”)
    #4 /home/centu565/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #5 /home/centu565/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #6 /home/centu565/public_html/wp-admin/admin-footer.php(78): do_action(‘admin_foot

    And here is what’s showing on the Licenses Gamipress back-end page:

    Warning: include_once(/home/centu565/public_html/wp-content/plugins/gamipress/libraries/cmb2/includes/CMB2_hookup.php): failed to open stream: No such file or directory in /home/centu565/public_html/wp-content/plugins/gamipress/libraries/cmb2/includes/helper-functions.php on line 44

    Warning: include_once(): Failed opening ‘/home/centu565/public_html/wp-content/plugins/gamipress/libraries/cmb2/includes/CMB2_hookup.php’ for inclusion (include_path=’.:/usr/local/php71/pear’) in /home/centu565/public_html/wp-content/plugins/gamipress/libraries/cmb2/includes/helper-functions.php on line 44

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘CMB2_hookup’ not found in /home/centu565/public_html/wp-includes/class-wp-hook.php on line 288

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is a result of an update to CMB2, a core framework used by GamiPress, and this issue has been reported: https://github.com/CMB2/CMB2/issues/1333

    The simplest answer for you to get your site working is to go and update the /Users/JT/Downloads/gamipress/libraries/cmb2/includes/CMB2_Hookup.php file to ensure it’s specifically named with that casing, CMB2_Hookup.php (vs CMB2_hookup.php).

    Thread Starter abbydigital

    (@abbydigital)

    Is it possible that the problem is the reverse of what you described? The file I have is “CMB2_Hookup.php” (the named version with the capital “H”), but the error in the Licenses page indicates that the plugin is looking for (and can’t find) the file called “CMB2_hookup.php” (the version named with a lower-case “h”).

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @abbydigital

    We just released a new update fixing this issue

    Thank you so much for report this issue

    @@jtsternberg looks like the issue with the file renaming happens only on Pantheon’s servers

    Our version from GitHub is correctly renamed, the unique thing is that we didn’t renamed some of the usages of the CMB2_Hookup, but thanks for take your time to help solve issues related to GamiPress

    Really appreciated!

    Best regards

    Thread Starter abbydigital

    (@abbydigital)

    Yes! The new version (Version 1.8.2.1) appears to have solved the issue.

    Thanks so much for being so quick to fix!

    I think this topic can be marked RESOLVED.

    @rubengc ah ok! Thanks for fixing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error alert after upgrade’ is closed to new replies.