Error message on
Error message on
I often use Vesta to move a website from one VPS to another. I copy the backup file to the new server, then I use v-restore-user to create the new user.
All the websites are WordPress websites. Recently, with the new Vesta version, the website fails to load on the new server after I have restored the user. The error log shows:
I know this is a WordPress error, specifically with my multilingual plugin WPML (sitepress-multilingual-cms). But I was wondering if, based on the error message, anyone might have an idea of why this error occurs now. I have tried with several websites. Only the ones which have WPML installed give this error. They don't give the error before the backup on the old server.
If I download the WPML plugin zip file and replace the one from the backup, then the fatal error is resolved and the website loads.
Thanks.
All the websites are WordPress websites. Recently, with the new Vesta version, the website fails to load on the new server after I have restored the user. The error log shows:
Code: Select all
[Sat Jan 20 20:33:29.535063 2018] [fcgid:warn] [pid 5622] [client 69.162.124.123:49238] mod_fcgid: stderr: PHP Fatal error: Interface 'WPML_Log' not found in /home/example/web/example.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-config-update-log.php on line 6, referer: https://www.example.com
[Sat Jan 20 20:34:29.674315 2018] [fcgid:warn] [pid 5052] [client 69.162.124.123:49244] mod_fcgid: stderr: PHP Warning: include(/home/example/web/example.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/logs/interface-wpml-log.php): failed to open stream: No such file or directory in /home/example/web/example.com/public_html/wp-content/plugins/gravityforms-multilingual/vendor/composer/ClassLoader.php on line 444, referer: https://www.example.com
[Sat Jan 20 20:34:29.674398 2018] [fcgid:warn] [pid 5052] [client 69.162.124.123:49244] mod_fcgid: stderr: PHP Warning: include(): Failed opening '/home/example/web/example.com/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../../classes/logs/interface-wpml-log.php' for inclusion (include_path='.:/opt/remi/php70/root/usr/share/pear:/opt/remi/php70/root/usr/share/php:/usr/share/pear:/usr/share/php') in /home/example/web/example.com/public_html/wp-content/plugins/gravityforms-multilingual/vendor/composer/ClassLoader.php on line 444, referer: https://www.example.com
[Sat Jan 20 20:34:29.674406 2018] [fcgid:warn] [pid 5052] [client 69.162.124.123:49244] mod_fcgid: stderr: PHP Fatal error: Interface 'WPML_Log' not found in /home/example/web/example.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-config-update-log.php on line 6, referer: https://www.example.com
If I download the WPML plugin zip file and replace the one from the backup, then the fatal error is resolved and the website loads.
Thanks.
Re: Error message on
I got the same issue with a website with WPML.
I fixed it too by reinstalling WPML.
I will see if I can get some time to understand why this happens and if it happens when I do a restore on the same server.
I fixed it too by reinstalling WPML.
I will see if I can get some time to understand why this happens and if it happens when I do a restore on the same server.
Re: Error message on
Thanks, let me know if you find out anything.
Re: Error message on
@vesta_mtl
I thinks it's module problem, something like this happen sometimes with OpenCart vqmod module ;-(
I thinks it's module problem, something like this happen sometimes with OpenCart vqmod module ;-(
Re: Error message on
I'm facing similar issues, when doing a restore on the same server of the same domain. This has happened to me in two different cases (domains with WPML).
I can confirm that removing and reinstalling WPML Multilingual CMS, solves the issue, but it's quite annoying. It doesn't seem it's a VESTA issue though...
Code: Select all
PHP Fatal error: Interface 'WPML_Log' not found in /home/user/web/domain/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/xml-config/class-wpml-config-update-log.php
Code: Select all
WPML Version 4.0.7
WordPress Version 4.9.8
VESTA CP Version 0.9.8 (amd64) R22
Re: Error message on
FINALLY! Found the cause and the solution!
I just noticed a very strange thing. When restoring from a Backup, one file is missing!! This file:
I downloaded the VESTA Backup File, and made sure that the above mentioned file is indeed in there. So the file exists inside the Backup, but it is missing after Restore. So there seems to be some kind of problem during restore.
I just restored a WordPress+WPML site and booom! Missing file interface-wpml-log.php! I copied the file in the directory mentioned above and everything just worked!
Maybe @vesta_mtl and @kittyhack can confirm this.
@skurudo, how possible it is that the restore is not working as expected?
I just noticed a very strange thing. When restoring from a Backup, one file is missing!! This file:
Code: Select all
/wp-content/plugins/sitepress-multilingual-cms/classes/logs/interface-wpml-log.php
I just restored a WordPress+WPML site and booom! Missing file interface-wpml-log.php! I copied the file in the directory mentioned above and everything just worked!
Maybe @vesta_mtl and @kittyhack can confirm this.
@skurudo, how possible it is that the restore is not working as expected?