PHP Errors and JavaScript Issues (original) (raw)
Viewing 9 replies - 1 through 9 (of 9 total)
- I tested with PHP 8 and am not seeing any issues. This might be specific to Gamipress.
It’s not just Gamipress.
When activated, it reports the following error. (Gamipress not active.) I look at it, and basically, it’s using call_user_func but not limiting parameters.
https://help.tenacity.io/rRu5r0nl
Can you provide the CMB2 box registration code, or is that all in 3rd party code (e.g. other plugins like gamipress)?
Registration Code? Like an activation code for the plugin?
Or do you mean the theme code that uses CMB2?
The theme code that uses CMB2.
Yah the issue is the default_cb param is set todateso it’s calling that as a function. If trying to set a string, then probably need to do something like this:’default_cb' => function() {return ‘date’;}
@jtsternberg That seems to have eliminated the error and restored the editor. Thank you! That would have taken forever to figure out.
Viewing 9 replies - 1 through 9 (of 9 total)