• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Sudden problem with themes

Dimitra

New Pleskian
Server operating system version
AlmaLinux 8.8 (Sapphire Caracal)
Plesk version and microupdate number
Obsidian - Version 18.0.52
Hi everyone,
For the past 3 weeks something strange has been happening in a wordpress website we are supporting.

About every 3 days, the site is unable to find the active theme, thous resulting in errors. The wp-content/themes folder is either completely missing or is unable to be found by the functions.php.

It started a few days after we updated the site plugins. Suddenly site stopped working and it got a php fatal error because the functions.php was unable to iopen the file wp-content/themes/shoptimizer/inc/kirki-fallback.php. We fixed it by uploading again the child-theme template folder.
The problem happened again after a few days. At first we believed it was the LiteSpeed plugin. We disabled it and it seemed to work fine, but two days ago the problem happened again but this time, the whole themes folder disappeared.

The site works, but it’s missing the styling and some customizations from the child theme.

In the administration, I get the error Error: The theme directory “shoptimizer-child-theme” does not exist (obsviously).

Strange thing is the until Friday the site was working fine and in Saturday, it suddenly broke.

In Plesk logs I don’t see any strange errors/warnings. Just a mod_security rule triggered a few times, but this is something that is happening before the themes problem and doesn’t seem to affect the site. The rules triggered are all about incorrect login and access to certain files.

Anyone has any idea why this is happening or how we can stop it?
Our server is using ModSecurity, Immunify360 and Wordpress Tookit.

The system information are:
WordPress v6.2.2
Woocommerce v7.9.0
Shoptimizer theme with Kirki plugin
PHP 8.1.9
LiteSpeed running on Server

Any help would be much appreciated,
Thank you.
 
Back
Top