Hello,
After updating theme from 2.2.3 to 3.0.4 and 3.0.5
Fatal error: Call to undefined function ot_get_option() in /.../wp-content/themes/hueman-child-master/header.php on line 43
Can you help, please?
Thanks
Hello,
After updating theme from 2.2.3 to 3.0.4 and 3.0.5
Fatal error: Call to undefined function ot_get_option() in /.../wp-content/themes/hueman-child-master/header.php on line 43
Can you help, please?
Thanks
Hi @css31,
can you share the content of the functions.php file of your child theme on http://pastebin.com/ (or an equivalent service). If your functions.file content is short, just share it here.
thanks
It couldn't be shorter,
<?php
/* ------------------------------------------------------------------------- * * Custom functions
/* ------------------------------------------------------------------------- */ // Add your custom functions here, or overwrite existing ones. Read more how to use: // http://codex.wordpress.org/Child_Themes
+
Here is header.php
Hi 100son. The problem is that the code in the updated version of header.php has changed and code in the old version of header.php is no longer valid with the new version of the theme. This is an issue that users with child themes that contain modified theme files may encounter. The best option is to copy your custom code out of your existing child theme header.php file, replace the header.php file with the new version from the parent theme, then reapply your changes. If you have other modified theme files in your child theme you should do the same for those also.
This was posted by the theme developer about 2 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.
You could try updating to v3.0.6. In the long run though you'll eventually want to update the template files in your child theme.
برچسب : نویسنده : استخدام کار wpss بازدید : 97