Fatal error: Cannot use object of type _WP_Dependency as array in /home/user/public_html/wp-content/themes/themify-ultra/themify/class-themify-cache.php on line 543

<!–

–> Topic: Fatal error

  • Fatal error: Cannot use object of type _WP_Dependency as array in /home/user/public_html/wp-content/themes/themify-ultra/themify/class-themify-cache.php on line 543

    I am writing this post because I want to help you with a themify theme, yes they are not perfect too. I been having issues for months now and I just fixed it. One of the themes in my website was making a error – yes the error you see on top.

    This was the error and problem – the stack themify theme was not doing good on my website so I deactivated and gave another error:

    ser was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/user/public_html/mysite/includes folder/functions.php on line 3996

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 /home/user/public_html/mysite/theme folder/themes/themify-stack/themify/class-themify-cache.php(91): is_user_logged_in() #7 /home/user/public_html/site name/content/themes/themify-stack/themify/class-themify-cache.php(723): TFCache::is_cache_activate() #8 /home/user/public_html/site name/content/themes/themify-stack/themify/themify-config.php(91): require_once(‘/home/user/…’) #9 /home/user/public_html/mysite/content/template.php(572): require_once(‘/home/user/…’) #10 /home/user/public_html/mysite/wp-includes/template.php(531): load_template(‘/home/user/…’, true) #11 /home/user/public_html/mysite/wp-content/themes/themify-stack/functions.php(26): locate_template(‘themify/themify…’, true) #12 /home/user/public_html/sitename/wp-settings.php(387): include(‘/home/user/ in /home/user/public_html/site/includes/functions.php on line 3996

    when I deactivate there was no option to remove the theme, so I am guessing this theme my have issues with wordpress? I don’t know yet or maybe was installed incorrectly? well you need to go to your root folder where the themes are located folders and delete and remove by folder in the root of your website. I did that and all issues went away. If you have no idea how to do this hire me to fix it!

UPDATE:

I have been customizing these themes and sometimes it does have errors like the one above, but if you do everything correctly everything should work, all you have to do is go to your admin control panel and deactivate your theme that you have been editing and activate again, I did it about 2 or 3 times then I went back to my website and everything working again, so I am not sure now that it was a plugin, I think it was not a plugin. The issue is you have been editing or customizing your theme and that is why this error pops up. Now if you go and deactivate each theme and activate it should correct itself.