Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Website killed: Failed opening required ‘class.pope_cache.php’

  • Resolved John


    Hello Team,

    I’m still running PHP 5.6 on Debian 8 as it’s still supported by my distribution and after updating to WordPress 5.4 it seems that Nextgen gallery plugin killed my website – I cannot load it or access the web admin. I turned on the debug mode in wp-config.php and it showed the following:

    Warning: require_once(): open_basedir restriction in effect. File(/var/www/clients/client9/web19/web/wp-content/plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/class.pope_cache.php) is not within the allowed path(s): (/var/www/clients/client9/web17/web:/var/www/clients/client9/web17/private:/var/www/clients/client9/web17/tmp:/var/www/ in /var/www/clients/client9/web19/web/wp-content/plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/autoload.php on line 5
    Warning: require_once(/var/www/clients/client9/web19/web/wp-content/plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/class.pope_cache.php): failed to open stream: Operation not permitted in /var/www/clients/client9/web19/web/wp-content/plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/autoload.php on line 5
    Fatal error: require_once(): Failed opening required 'class.pope_cache.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client9/web19/web/wp-content/plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/autoload.php on line 5

    Disabling your plugin via FTP solved the issue but the web is missing the gallery :).

    The contents of the file /plugins/nextgen-gallery/vendor/reactr-io/pope-framework/lib/autoload.php

    is following:

    if (!defined('POPE_VERSION')) {
    	define('POPE_VERSION', '0.14');

    Any help is appreciated.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mihai Ceban


    Hi @webwiz1,

    Please let us know what hosting provider are you using.

    Thread Starter John


    No provider – self hosted on VPS.

    Plugin Support Mihai Ceban


    Thanks for letting us know.

    Let’s try to temporarily deactivate all the plugins, install and activate NextGen Gallery then access “Dashboard -> Plugins” and press “Opt Out” link below NextGen Gallery plugin next to “Deactivate” button.

    Once done, please activate the other plugins.

    Hope this helps

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Website killed: Failed opening required ‘class.pope_cache.php’’ is closed to new replies.