• designcomputer

    (@designcomputer)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • rheg

    (@rheg)

    I have the same issue, hopefully someone can help. Do you have the Huge IT Portfolio plugin? I’m a novice but based on the directory at the very end of the error message (which is the same in my error code), I wonder if there is an issue because of that plugin.

    Plugin Author bradvin

    (@bradvin)

    looking at the error, it seems there is a conflict with the plugin “portfolio-gallery” which is trying to autoload classes in FooGallery based on the class name.

    This error is not originating from FooGallery

    FYI anyone who is having the same error, once Portfolio Gallery was deactivated, Foo Gallery activated perfectly.

    Thanks @bradvin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Uncaught Exception’ is closed to new replies.