Home › Forums › Jevelin Theme › Fancy Product Designer + Slider Revolution + Admin Toolbar
Home › Forums › Jevelin Theme › Fancy Product Designer + Slider Revolution + Admin Toolbar
Hi Shufflehound, After I updated my WP site I have encountered several problems.
Thank you in advance & I hope that you can assist me.
BR
Mark Y.
Hi Mark,
I hope you are well today and thank you for your questions.
I visited your website and It seems you are using an older version of the theme on your website so please update it to the below latest version as described here https://support.shufflehound.com/updating-theme/
Please login to access this file
Please clear your website and browser cache after updating the theme so that the latest js and CSS files will be loaded.
Best regards,
Shufflehound team
I have now installed the updated theme via the plugin. It solved one of the issues, nr. 3.
However, issue 1. is still not functioning.
Furthermore, I still get the error while logged in as Admin and as a visitor to my site (issue 2.):
<b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_wp_admin_bar_init’ not found or invalid function name in <b>/var/www/[…]/public_html/wp-includes/class-wp-hook.php</b> on line <b>287</b>
Firstly my Fancy Product Designer plugin. According to: https://support.fancyproductdesigner.com/support/solutions/articles/5000582912-using-the-debug-mode-to-inspect-any-missing-hooks-in-woocommerce-product-pages
I have an issue with the body_class filter and the Jevelin theme.
The Jevelin theme uses the body_class function in the theme header.php file as shown in the attached screenshot.
Secondly, the Admin toolbar has disappeared, how come is that? I get this warning:
<b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_wp_admin_bar_init’ not found or invalid function name in <b>/var/www/[…]/public_html/wp-includes/class-wp-hook.php</b> on line <b>287</b>
This can be due to plugin conflict on your site so please try temporarily deactivating all plugins except Unyson, Redux framework, and WpBakery page builder plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.
I will inform the provider of the plugin that the issue might be on their side.
Regarding the warning. I have now deactivated and cleared my website and browser cache.
The warning(s) i get now on the wp-admin page are:
<b>Warning</b>: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_wp_admin_bar_init’ not found or invalid function name in <b>/var/www/labelliquor.com/public_html/wp-includes/class-wp-hook.php</b> on line <b>287</b>
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /var/www/labelliquor.com/public_html/wp-includes/class-wp-hook.php:287) in <b>/var/www/labelliquor.com/public_html/wp-admin/includes/misc.php</b> on line <b>1310</b>
<b>Warning</b>: session_start() [function.session-start]: Cannot start session when headers already sent in <b>/var/www/labelliquor.com/public_html/wp-content/plugins/unyson/framework/includes/hooks.php</b> on line <b>229</b>
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /var/www/labelliquor.com/public_html/wp-includes/class-wp-hook.php:287) in <b>/var/www/labelliquor.com/public_html/wp-admin/admin-header.php</b> on line <b>9</b>
Please make sure you are using latest version of PHP on your server by referring the information provided in the following pages.
https://www.wikihow.com/Check-PHP-Version
http://php.net/supported-versions.php
To resolve the session_start error please try using the solutions shared in the following topics.
https://github.com/ThemeFuse/Unyson/issues/4042#issuecomment-681862373
https://support.shufflehound.com/forums/topic/error-after-installing-the-theme/
https://support.shufflehound.com/forums/topic/problem-with-the-unyson-plugin/
The current php version is 7.4.12
I have tried to modify the function.php in the theme and added the following:
if (!function_exists(‘_disable_fw_use_sessions’)) { add_filter(‘fw_use_sessions’,’_disable_fw_use_sessions’); function _disable_fw_use_sessions(){ return false; } }
I have tried to delete and reinstall the latest version of unyson plugin on the site. Furthermore, have I disabled all plugins except the unyson.
I still have the:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_wp_admin_bar_init’ not found or invalid function name in /var/www/labelliquor.com/public_html/wp-includes/class-wp-hook.php on line 287
the issue now and the Fancy Product Designer plugin is not working as usual.
Before updating your plugin and theme everything worked fine.
Would you mind if I log in to your site and do quick troubleshooting? If this is ok then could you please temporarily create an admin user account and share me the account login details privately by adding them in the box having text “Enter your private content here (only you and forum moderators will be able to see it)”?
Thank you and yes please do so.
I logged into your website and troubleshoot the issue by temporarily deactivating all the plugins and using the default WordPress Twenty Twenty theme but still the warning displays that means this is not an issue of the plugin or the theme.
This seems your WordPress setup issue so please try reinstalling the WordPress as described on the below pages.
https://www.tipsandtricks-hq.com/reinstall-wordpress-without-losing-content-10994
https://kinsta.com/blog/reinstall-wordpress/
https://www.hostinger.in/tutorials/how-to-reinstall-wordpress
Do you have WP_DEBUG set to true in your wp-config.php file?
If you do then please set it to false.
This will hide the warning messages and you will be able to use your site normally.
I have tried and reinstalled wordpress.
I have deactivated all plugins.
and now I get the following (private field).
I have set WP_DEBUG set to false in your wp-config.php file.
After a while, I can refresh the page (on multiple devices) and the site works if I then refresh again the issue reoccurs.
This can be your web host issue so could you please contact your web host to resolve it?