Title: Plugin Does Not Work With Option Tree
Last modified: August 30, 2016

---

# Plugin Does Not Work With Option Tree

 *  [-Jericho-](https://wordpress.org/support/users/-jericho-/)
 * (@-jericho-)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/)
 * This issue has come up before and I’ve spoken with the theme developer and they
   said the issue is not on their end. I can’t just switch themes to one that doesn’t
   use option tree since it’s a paid and heavily customized theme with option tree
   integrated into it. And seeing a lot of paid themes use option tree it’s something
   that should be fixed.
 * I’m using all of the latest versions of everything. After testing the plugin 
   using the 2015 theme with and without option tree you can see that that’s where
   the conflict is.
 * This is the error I get:
 *     ```
       PHP message: PHP 1. {main}() /home/**/public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:0
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:33
       PHP message: PHP 3. do_action() /home//public_html/wp-admin/admin.php:168
       PHP message: PHP 4. call_user_func_array:{/home/*/public_html/wp-includes/plugin.php:503}() /home//public_html/wp-includes/plugin.php:503
       PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_default_settings' not found or invalid function name in /home/****/public_html/wp-includes/plugin.php on line 503
   
       PHP message: PHP 1. {main}() /home/***/public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:0
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:33
       PHP message: PHP 3. do_action() /home//public_html/wp-admin/admin.php:168
       PHP message: PHP 4. call_user_func_array:{/home//public_html/wp-includes/plugin.php:503}() /home//public_html/wp-includes/plugin.php:503
       PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_add_xml_to_upload_filetypes' not found or invalid function name in /home/***/public_html/wp-includes/plugin.php on line 503
   
       PHP message: PHP 1. {main}() /home/***/public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:0
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/
       2015/10/06 23:22:32 [error] 16038#0: *120986 FastCGI sent in stderr: "
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:33
       PHP message: PHP 3. do_action() /home/*/public_html/wp-admin/admin.php:168
       PHP message: PHP 4. call_user_func_array:{/home//public_html/wp-includes/plugin.php:503}() /home//public_html/wp-includes/plugin.php:503
       PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_modify_layouts' not found or invalid function name in /home/***/public_html/wp-includes/plugin.php on line 503
   
       PHP message: PHP 1. {main}() /home/***/public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:0
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:33
       PHP message: PHP 3. do_action() /home//public_html/wp-admin/admin.php:168
       PHP message: PHP 4. call_user_func_array:{/home//public_html/wp-includes/plugin.php:503}() /home//public_html/wp-includes/plugin.php:503
       PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_create_media_post' not found or invalid function name in /home/***/public_html/wp-includes/plugin.php on line 503
   
       PHP message: PHP 1. {main}() /home/**/public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:0
       PHP message: PHP 2. require_once() /home//public_html/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php:33
       PHP message: PHP 3. do_action() /home//public_html/wp-admin/admin.php:168
       PHP message: PHP 4. call_user_func_array:{/home//public_html/wp-includes/plugin.php:503}() /home//public_html/wp-includes/plugin.php:503
       PHP message: PHP Fatal error: Call to undefined function ot_register_meta_box() in /home/***/public_html/wp-content/themes
       ```
   
 * If you know how I can get around this that would be great.
 * [https://wordpress.org/plugins/pressforward/](https://wordpress.org/plugins/pressforward/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [nexusbroadcast](https://wordpress.org/support/users/nexusbroadcast/)
 * (@nexusbroadcast)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627795)
 * I dont know if this will help, but it may put you on the right path.
 * I am using the Hueman theme. The theme is the problem as the plugin works fine
   on other themes. I put a band aid on this by commenting out the following lines
   in /wp-content/themes/hueman/functions/meta-boxes.php
 *     ```
       /*	ot_register_meta_box( $page_options );
       	ot_register_meta_box( $post_options );  */
       ```
   
 * That stopped the fatal error and below all the warnings my content showed up.
   So next I turned off the warning display in my php.ini
 * Not the best solution – but it is working for my purposes until they fix Hueman
   or I switch to something else.
 * Everything on the site seems to be working.
 *  Plugin Author [Aram Zucker-Scharff](https://wordpress.org/support/users/aramzs/)
 * (@aramzs)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627798)
 * Thanks Nexusbroadcast!
 * Jericho,
 * Does this error occur on theme or plugin activation or on a specific page?
 * -Aram
 *  Plugin Author [Aram Zucker-Scharff](https://wordpress.org/support/users/aramzs/)
 * (@aramzs)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627799)
 * This sounds to me like a problem with a mismatch between the latest version of
   Options Tree and your Theme that is getting triggered somehow by PF? Is your 
   Option Tree plugin fully updated? Or your theme? It sounds like the problem lies
   there.
 *  Thread Starter [-Jericho-](https://wordpress.org/support/users/-jericho-/)
 * (@-jericho-)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627800)
 * I don’t use the option tree plugin it’s integrated into the theme. It was the
   newest version last time I tried.
 * I gave up on it. The theme creator found the problem to be between option tree
   and the plugin. The person who wrote option tree never responded back to me. 
   You can see here where it left off:
 * [https://github.com/valendesigns/option-tree/issues/565](https://github.com/valendesigns/option-tree/issues/565)
 *  Plugin Author [Aram Zucker-Scharff](https://wordpress.org/support/users/aramzs/)
 * (@aramzs)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627806)
 * I would recommend installing the Option Tree Plugin, HOWEVER:
 * It sounds to me like the specific theme is badly implementing the OT code in 
   a way that it isn’t being set to fire correctly on the admin tree page.
 * If that was the only problem, then installing the plugin would solve that.
 * However, that problem is in, and of itself, indicative of generally bad practices
   on the part of the theme developer, so installing the plugin may cause the whole
   theme to crash, if they have not boxed it into the theme properly. My advice 
   is test installing the plugin, theme and pressforward on a site before deploying
   the set up to your live server.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin Does Not Work With Option Tree’ is closed to new replies.

 * ![](https://ps.w.org/pressforward/assets/icon.svg?rev=2923434)
 * [PressForward](https://wordpress.org/plugins/pressforward/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pressforward/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pressforward/)
 * [Active Topics](https://wordpress.org/support/plugin/pressforward/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pressforward/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pressforward/reviews/)

## Tags

 * [curate](https://wordpress.org/support/topic-tag/curate/)
 * [nominate this](https://wordpress.org/support/topic-tag/nominate-this/)

 * 5 replies
 * 3 participants
 * Last reply from: [Aram Zucker-Scharff](https://wordpress.org/support/users/aramzs/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-option-tree/#post-6627806)
 * Status: not resolved