Replies: 0
I am WordPress neophyte in the process of evaluating Gallery plug-ins for WordPress. I’ve tried installing Foo Gallery on two servers and both report the error below when I try to activate them. In both cases, I am using a Multisite WordPress installation of 4.7.2.
*** Error ***
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught Exception: trying to load “FooGallery_Simple_Portfolio_Gallery_Template” class that is not registered in config file. in /var/www/html/wp-content/plugins/portfolio-gallery/config.php:43 Stack trace: #0 [internal function]: portfolio_gallery_autoload(‘FooGallery_Simp…’) #1 [internal function]: spl_autoload_call(‘FooGallery_Simp…’) #2 /var/www/html/wp-content/plugins/foogallery/extensions/default-templates/simple-portfolio/class-simple-portfolio-gallery-template.php(3): class_exists(‘FooGallery_Simp…’) #3 /var/www/html/wp-content/plugins/foogallery/extensions/default-templates/class-default-templates-extension.php(15): require_once(‘/var/www/html/w…’) #4 /var/www/html/wp-content/plugins/foogallery/includes/includes.php(26): require_once(‘/var/www/html/w…’) #5 /var/www/html/wp-content/plugins/foogallery/foogallery.php(63): require_once(‘/var/www/html/w…’) #6 /var/www/html/wp-content/plugins/foogallery/foogallery.php(51): FooGallery_Plugin->__construct() #7 /var/www/html/wp-content/plugins/fo in /var/www/html/wp-content/plugins/portfolio-gallery/config.php on line 43