Trying to update the options in database (wp_options) but gets overwritten

Posted in: Newspaper
Post count: 2

Hi

I am trying to improve the overall speed of my website which has the newspaper theme, and I have noticed that there is an older script that is being call when a client request a page, the script belongs to an already removed plugin, and therefore it is not longer required and I want to remove it from the wp_options table (directly in the database) under the row/option called td_011, but when I get rid of it and execute the update query at the end it gets overwritten that row (as I can notice, it returns to the default configuration, I guess) and all my webpage losts its styles, logos and theme configurations. How can I get rid of the script that should not be in the database.

Regards
Hans

Post count: 27744

Hi,

If you make changes in td_011, this is the table in the database of the theme, and when you make changes on it most probably this is reset to default settings.
https://kinsta.com/blog/wordpress-database-plugin/
Maybe it will be a better idea to try to use some plugins that can clean the database, those usually have the option to clear all unused queries.

Thank you!

Post count: 2

Hi Anamaria

Thank you for your response.

So basically I can not update/change that section of the database without being reseted? Is there a way to prevent this behaviour? I already use two premium plugins, as mentioned in the resource you bring posted, but at the end those lines still there, and I decided that this would be the best way to get rid of it directly in the database (are just two lines that causes the unwanted behaviour in my webpage).

Regards
Hans

Post count: 27744

Hello,

Unfortunately, I don’t know an alternative solution, but maybe my colleagues via email will be able to provide some more information and maybe can help you.
If you want to contact us via email at contact@tagdiv.com and tell them about this request.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.