• Probably after PHP upgrade to 8.2 (not completely sure, a few things changed) this module generates fatal error when using admin pages.

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “CMB2_Hookup” not found in /var/www/ideainc/wp-includes/class-wp-hook.php:324

    It appears to be originating from /vendor/cmb2/cmb2/includes/CMB2_hookup.php file, in which the class is CMB2_Hookup (with capitalized “H”).

    Solution: rename CMB2_hookup.php to CMB2_Hookup.php

    The author might want to fix this.

  • The topic ‘Class “CMB2_Hookup” not found’ is closed to new replies.