• After upgrading to version 2.1.3, i get the errors:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_register_theme_options_page' not found or invalid function name in C:\wamp\www\wp-includes\plugin.php on line 406

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_register_theme_options_admin_bar_menu' not found or invalid function name in C:\wamp\www\wp-includes\plugin.php on line 487

    https://www.ads-software.com/plugins/option-tree/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m getting the exact same error. Had to deactivate the plugin.

    Same issue for me.

    I m on the wordpress multisite V3.5.2 and I brought back the option-tree plugin V2.0.12 and it works again.

    Hope it help

    I am experiencing the same issue after upgrade:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_register_theme_options_page' not found or invalid function name in /home/content/14/11547914/html/wp-includes/plugin.php on line 406
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/14/11547914/html/wp-includes/plugin.php:406) in /home/content/14/11547914/html/wp-includes/option.php on line 571
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/14/11547914/html/wp-includes/plugin.php:406) in /home/content/14/11547914/html/wp-includes/option.php on line 572
    
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_register_theme_options_admin_bar_menu' not found or invalid function name in /home/content/14/11547914/html/wp-includes/plugin.php on line 487

    Any workarounds other than disabling the plugin? Can somebody share a link to an old version of this plugin that I can reinstall until things are resolved? Thanks.

    Same here. WordPress 3.6.

    Same issue here. The message appears and I’m not able to upload images or add some in posts. Also, unable to link other articles via the “discovery” link tool.

    Thanks davask.42, I followed your advice and went back to v2.0.12 of option-tree and now it works.

    Plugin Author Derek Herman

    (@valendesigns)

    ot_register_theme_options_page is a valid callback and if your version of the plugin is complaining that is doesn’t exist then it’s more than likely the ot-functions-admin.php file is not the correct one and somewhere in the upgrade process things went wrong.

    I’m still getting this error after another upgrade.

    it’s more than likely the ot-functions-admin.php file is not the correct one

    …so where can I get the correct one? How do I fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Optiontree not working after upgrade’ is closed to new replies.