-
Hi,
I hope you can help me with a fatal error on Rank Math settings that causes some warnings while sharing page links. It also breaks the settings page, Titles and meta section: https://imgur.com/a/3j48K3r
I already tried to deactivate every plugin except Rank Math and activate the default WP theme, but nothing changes.
This is my error log and you can find the WP status in the sensitive data section.
Can you help me? I’m sorry but I don’t know since when this happens, I guess it’s quite recent.Thanks for your help.
[12-Feb-2024 08:32:36 UTC] PHP Warning: next(): Argument #1 ($array) must be passed by reference, value given in /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php on line 315
[12-Feb-2024 08:32:36 UTC] PHP Fatal error: Uncaught ArgumentCountError: next() expects exactly 1 argument, 3 given in /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php:315
Stack trace:
#0 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php(315): next(Array, Object(CMB2_Field), NULL)
#1 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback(‘Next’)
#2 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(1345): CMB2_Base->get_param_callback_result(‘default_cb’)
#3 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(1298): CMB2_Field->get_default()
#4 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_JS.php(69): CMB2_Field->js_data()
#5 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(1279): CMB2_JS::add_field_data(Object(CMB2_Field))
#6 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/types/CMB2_Type_Base.php(65): CMB2_Field->register_js_data()
#7 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text.php(58): CMB2_Type_Base->rendered(‘<input type=”te…’)
#8 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Types.php(484): CMB2_Type_Text->render()
#9 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Types.php(503): CMB2_Types->input()
#10 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Types.php(101): CMB2_Types->text()
#11 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Types.php(90): CMB2_Types->_render()
#12 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(934): CMB2_Types->render()
#13 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php(315): CMB2_Field->render_field_callback(Array, Object(CMB2_Field), NULL)
#14 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php(273): CMB2_Base->do_callback(Array)
#15 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php(249): CMB2_Base->get_param_callback_result(‘render_row_cb’)
#16 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Field.php(872): CMB2_Base->peform_param_callback(‘render_row_cb’)
#17 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(464): CMB2_Field->render_field()
#18 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2.php(260): CMB2->render_field(Array)
#19 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Hookup.php(775): CMB2->show_form(0, ‘options-page’)
#20 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php(283): CMB2_Hookup->show_form_for_type(‘options-page’)
#21 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-options.php(303): CMB2_Options_Hookup->options_page_metabox()
#22 /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php(194): RankMath\Admin\Options->display(Object(CMB2_Options_Hookup))
#23 /home/nextformazione/public_html/wp-includes/class-wp-hook.php(324): CMB2_Options_Hookup->options_page_output(”)
#24 /home/nextformazione/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#25 /home/nextformazione/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#26 /home/nextformazione/public_html/wp-admin/admin.php(259): do_action(‘rank-math_page_…’)
#27 {main}
thrown in /home/nextformazione/public_html/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/includes/CMB2_Base.php on line 315
The ticket ‘Fatal error on CMB2_Base.php’ is closed to new replies.