• I’ve just updated the plugin via the WP admin and now I’ve got an error message across the top of the admin screen — apparently there is a file missing. But I also wonder why you are using SVG to do the images, I thought that they were not recommended for security reasons in general???

    Warning: file_get_contents(/home/XXXXXX/public_html/wp-content/plugins/zencache/client-s/images/inline-icon.svg): failed to open stream: No such file or directory in /home/XXXXXX/public_html/wp-content/plugins/zencache/zencache.inc.php on line 577

    https://www.ads-software.com/plugins/zencache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kimstuart

    (@kimstuart)

    I have it on line 560 in another install that I’ve just updated.

    Thread Starter kimstuart

    (@kimstuart)

    And now I have this as well on the install with the line 560 reference – it’s a multisite install – when I am attempting to access the Network Plugins page in the admin.

    Warning: file_get_contents(/home/XXXXXXXX/public_html/wp-content/plugins/zencache/client-s/images/inline-icon.svg): failed to open stream: No such file or directory in /home/XXXXXXXX/public_html/wp-content/plugins/zencache/zencache.inc.php on line 560

    Warning: Cannot modify header information – headers already sent by (output started at /home/XXXXXXXX/public_html/wp-content/plugins/zencache/zencache.inc.php:560) in /home/XXXXXXXX/public_html/wp-includes/pluggable.php on line 1228

    Warning: Cannot modify header information – headers already sent by (output started at /home/XXXXXXXXX/public_html/wp-content/plugins/zencache/zencache.inc.php:560) in /home/XXXXXXXXX/public_html/wp-includes/pluggable.php on line 1228

    Plugin Author Raam Dev

    (@raamdev)

    @kimstuart It looks like you’re not running the latest version of ZenCache, as the file referenced in those errors (wp-content/plugins/zencache/zencache.inc.php) does not exist in v160222.

    I suggest completely removing ZenCache and installing a fresh copy from www.ads-software.com. See the manual uninstall instructions below:

    EMERGENCY: If all else fails, how can I remove ZenCache?
    Ordinarily you can just deactivate ZenCache from the plugins menu in WordPress. However, if you’re having a more serious issue, please follow the instructions here.

    1. Log into your site via FTP; perhaps using FileZilla.
    2. Delete this file: /wp-content/advanced-cache.php
    3. Delete this directory: /wp-content/plugins/zencache/
    4. Remove this line from your /wp-config.php file: define('WP_CACHE', TRUE);

    ZenCache is now completely uninstalled and you can start fresh ??

    Plugin Author JasWSInc

    (@jaswsinc)

    Hi Kim ??

    Is your server running the OPcache extension for PHP? Have you tried clearing the OPcache yet? It almost looks like you have different PHP files in memory than what actually exists on the server.

    The new inline-icon.svg file is under the src/client-s directory, and I can confirm that the updated codebase references that file properly. In the error you posted, that file is being referenced in the old way; i.e., client-s/ instead of src/client-s. So it looks like the PHP code needs to be cleared from the OPcache so that you truly have the latest version running.

    @kimstuart,

    But I also wonder why you are using SVG to do the images, I thought that they were not recommended for security reasons in general???

    Anything you upload to your site can be dangerous, but SVGs aren’t inherently more dangerous than rasterized image formats. (In fact, zip files are much more dangerous, and yet they are what every theme and plugin uses.) It’s just that the risks are different, specifically that SVGs can include javascript, which could do bad things.

    ZenCache already includes javascript files. So if you trust the plugin enough to install it, you shouldn’t really be concerned that it uses SVGs. And the SVG format does have major advantages.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error after updating — missing element, line 577’ is closed to new replies.