My site keeps showing me this error message each time tried to open a page on the site;
Fatal error: Call to undefined function wp_script_add_data() in /home/capaci11/public_html/victorcounted.com/wp-content/themes/you/functions.php on line 97
Please what should i do, I have a deadline to meet
- This topic was modified 6 months, 3 weeks ago by paulsholaoguntade.
I got mine working again.. perhaps this will help you as well:
login to your database using phpMyAdmin (or whatever), and navigate to the “active_plugins” column of the “wp_options” table. Once the active_plugins column appears, click to edit it. You will see something similar to the following, depending on the number and type of plugins you have installed:
That entire array of code represents every active plugin on your site. Thus, to quickly disable all plugins without using the WP Admin area, highlight the entire block of code, cut it out, and paste it into a safe, offline text file. After removing the code, click the button to save your changes and that’s it. All WordPress plugins are now deactivated (yet still installed, and with all plugin options intact).
The site should work now again and you can activate the plugins step by step and see where the problem is…
Acoda Support EdcelModerator
What solved it was to increase my WP memeory via WP_Config.php
Then also, at some point previously, i was uploading the wrong zip file, so the best way to do it is to use Evanto WordPress tool kit. With that you would install the right file.
But when it breaks the site, the solution is to increase the WP memory. This is because some of the plugins require larger memory, and most times some Hosting companies put a cap on the memory, so you either increase it your self or write to them to help you increase it in case their own settings is overwriting your changes.
trust me it would work fine after.
You must be logged in to reply to this topic.