Fatal erro after theme update
-
Hi. Thnx for fantastic theme and for support this.
Today, after updating I see fatal error:Fatal error: Call to undefined function ot_register_meta_box() in mysite.com\wp-content\themes\hueman\functions\meta-boxes.php on line 265on line 265 I see –
ot_register_meta_box( $page_options );This error i see only when i want to login admin panel, front-end side working without errors.
Can U help me?
Thnx!
-
Hi Vladimir. This was posted by the theme developer about two hours ago:
In the mean time, I’ve uploaded a new version of the theme which includes a backward compatibility patch for the functions used in the previous templates.
This should fix most of the problem with child theme users who are still using the old function names in their templates.If you’re not on v3.0.6 you might try updating to the latest version.
Hi, bdbrown! Thnx for answer.
I updating to the latest version 30 minuts ago.So, when I delete this code:
ot_register_meta_box( $post_format_audio ); ot_register_meta_box( $post_format_chat ); ot_register_meta_box( $post_format_gallery ); ot_register_meta_box( $post_format_link ); ot_register_meta_box( $post_format_quote ); ot_register_meta_box( $post_format_video ); ot_register_meta_box( $post_options );Admin panel is working without problems.
WP update and Theme update 3.0.7 not resolve problem (((
Hi @vladimeri,
Are you using a child theme ?
Can you share your system information in your next reply ?
You’ll find them at the bottom of the page in Appearance > About Hueman.Thanks
Hi, @nikeo! Thnx for answer.
Yes, I using child theme, but when I trying activate parent theme Hueman, error not resolve.
About Hueman system info:
# SITE_URL: http://localhost/sitename # HOME_URL: http://localhost/sitename # IS MULTISITE : No # THEME | VERSION : Hueman | v3.0.7# WP VERSION : 4.5 # PERMALINK STRUCTURE : /%category%/%postname%/ # ACTIVE PLUGINS : Category Wise Search Widget: 1.3 Contact Form 7: 4.4.1 Custom Post Type Permalinks: 1.5.2 Cyr to Lat enhanced: 3.5 Regenerate Thumbnails: 2.2.6 Remove Category URL: 1.1 Responsive Lightbox: 1.6.7 TinyMCE Advanced: 4.2.8 Toolset Types: 2.0.1 WP-Optimize: 1.8.9.10 WP-PageNavi: 2.89.1 PHP Version: 5.6.15 MySQL Version: 5.5.5-10.1.9-MariaDB Web Server Info: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 WordPress Memory Limit: 40MB PHP Safe Mode: No PHP Memory Limit: 256M PHP Upload Max Size: 3M PHP Post Max Size: 8M PHP Upload Max Filesize: 3M PHP Time Limit: 30 PHP Max Input Vars: 1000 PHP Arg Separator: & PHP Allow URL File Open: Yes WP_DEBUG: Disabled Show On Front: posts Page On Front: (#0) Page For Posts: (#0)OK Thanks.
I can’t replicate your problem for the moment.I’m working on it and will let you know when I’ll find the solution.
Ok, I will waiting!
Thank U!
It’s already late here so I will make a break for a few hours…
Yes, of course, no problem.
Temporarily I delete all ot_register_meta_box and all working fine.My debug.log outputs the same error
I’m not using a child theme, as I was planning to migrate to version 3.0.7.PHP Fatal error: Uncaught Error: Call to undefined function ot_register_meta_box() in /xxx/htdocs/www/wp-content/themes/hueman/functions/meta-boxes.php:265Advanced Custom Fields seems to be triggering this error.
When I disable that plugin, the theme works.@fadingmusic Oh…! Thnx man!
I don’t using ACF, but I just disable Toolset Types plugin and theme realy work.So, @nikeo, i think problems only with all Custom Field an Taxonomy plugins.
I hope it will resolved.Same here:
I’m using a child theme; switching to hueman didn’t resolve problem but
=> disabling AdvancedCustomFields plugin worked!
(good, that i only used acf for testing)Ok thanks for all those feedbacks. I’m working on a fix, a new release will be uploaded shortly.
Hi, guys,
ref: Valdemar.in,robertegger
I’m using Hueman- love it- with yoast seo. That also has taxonomy issue.
Shall they fit? Any practice, hint? If tested,news are welcome.
I dont wish to have my site collapsed, as I’m not an “IT wizard” to solve the problem.Have a nice day all
kerdezo
The topic ‘Fatal erro after theme update’ is closed to new replies.
