Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Error message on

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
vesta_mtl
Posts: 70
Joined: Wed Dec 21, 2016 2:08 pm

Error message on
  • Quote

Post by vesta_mtl » Sun Jan 21, 2018 2:15 am

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:

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
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.
Top

kittyhack
Posts: 1
Joined: Mon Feb 26, 2018 8:51 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Error message on
  • Quote

Post by kittyhack » Mon Feb 26, 2018 8:55 am

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.
Top

vesta_mtl
Posts: 70
Joined: Wed Dec 21, 2016 2:08 pm

Re: Error message on
  • Quote

Post by vesta_mtl » Mon Feb 26, 2018 10:58 am

Thanks, let me know if you find out anything.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error message on
  • Quote

Post by skurudo » Wed Feb 28, 2018 10:18 am

@vesta_mtl
I thinks it's module problem, something like this happen sometimes with OpenCart vqmod module ;-(
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Error message on
  • Quote

Post by Felix » Tue Oct 02, 2018 5:51 pm

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).

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
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

WPML Version		4.0.7
WordPress Version	4.9.8
VESTA CP Version	0.9.8 (amd64) R22
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Error message on
  • Quote

Post by Felix » Mon Oct 14, 2019 9:38 pm

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:

Code: Select all

/wp-content/plugins/sitepress-multilingual-cms/classes/logs/interface-wpml-log.php
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?
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password