PHP warnings while in roll back screen
-
Hey @dlocc,
first thanks for your great plugin that has been very useful several times for us so far.
At least in the last months we always get three PHP warnings while using your plugin. The rollback process is successful though. But we think it must be interesting for you and you will want to fix them.
It happens at the moment / on the screen where the rollback took place. Below the rollback notes we find the following three PHP warnings.
Warning: fopen(/[SERVER PATH]/wp-content/plugins//[SERVER PATH]/wp-content/plugins/elementor/elementor.php): failed to open stream: No such file or directory in /[SERVER PATH]/wp-includes/functions.php on line 5782 Warning: fread() expects parameter 1 to be resource, bool given in /[SERVER PATH]/wp-includes/functions.php on line 5785 Warning: fclose() expects parameter 1 to be resource, bool given in /[SERVER PATH]/wp-includes/functions.php on line 5788
In this case we rolled back a version of Elementor, but it happens for all plugins and is reproducable. Because we maintain about 200 WordPress installations on four completely different servers in different data centers we think it should not be depending on our server setup.
PHP version is 7.3.
Note: In the warnings above we replaced the original server path with “[SERVER PATH]” for security reasons.
What we think is eye-catching is the path appearing in the first fopen-warning:
/[SERVER PATH]/wp-content/plugins//[SERVER PATH]/wp-content/plugins/elementor/elementor.php
For us this looks as if the plugin would contruct the server path for the fopen command erroneously. Probably the following two warnings are a result of the first one.What do you think?
Many greetings,
-doffine
- The topic ‘PHP warnings while in roll back screen’ is closed to new replies.