Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Error thrown Class ‘C_Component_Registry’ not found

  • Resolved paweleq1994


    After update plugin my page is dead and I get “Error thrown Class ‘C_Component_Registry’ not found”. Any help?

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter paweleq1994


    Manual uninstallation and installation previous version helped to solve the problem

    Plugin Support mihai-imagely


    Hi @paweleq1994,

    Can you please let us know what PHP version are you using and if you have tried to manually reinstall the latest version of NextGen Gallery?

    Thread Starter paweleq1994


    After instalation your newest version of the plugin I get message that plugin cannot be activated because of critical error:
    Error thrown
    Class ‘C_Component_Registry’ not found

    Plugin Support mihai-imagely


    Please let us know what PHP version are you using for your site.



    Same thing happened to me on updating NextGEN Gallery.
    PHP 7.3.15

    Plugin Support mihai-imagely


    Hi @robweltman @paweleq1994,

    Can any of you try to temporarily deactivate all the plugins from the site then install and activate the latest version of NextGen Gallery to see if the issue will persist?

    We are suspecting that it happens because of a conflict with another resource from the site that uses pope.



    Hi @mihaiimagely ,

    I’m having the same problem. Tried deactivating all plugins, reinstalled the latest version of Nextgen (V3.3.0), same issue “Class ‘C_Component_Registry’ not found”.

    No other resource using pope.

    Here is the stack trace.

    [21-Mar-2020 17:28:17 UTC] PHP Fatal error:  Uncaught Error: Class 'C_Component_Registry' not found in /wordpress/wp-content/plugins/nextgen-gallery/nggallery.php:293
    Stack trace:
    #0 /wordpress/wp-content/plugins/nextgen-gallery/nggallery.php(173): C_NextGEN_Bootstrap->_load_pope()
    #1 /wordpress/wp-content/plugins/nextgen-gallery/nggallery.php(1078): C_NextGEN_Bootstrap->__construct()
    #2 /wordpress/wp-settings.php(360): include_once('/wordpress/wp-c...')
    #3 /wordpress/wp-config.php(278): require_once('/wordpress/wp-s...')
    #4 /wordpress/wp-load.php(37): require_once('/wordpress/wp-c...')
    #5 /wordpress/wp-blog-header.php(13): require_once('/wordpress/wp-l...')
    #6 /wordpress/index.php(17): require('/wordpress/wp-b...')
    #7 {main}
      thrown in /wordpress/wp-content/plugins/nextgen-gallery/nggallery.php on line 293


    Hi @sjaure,

    One of our agents already reported this back to the developers and we have created a bug report. Please keep in mind that our developers need to address these issues in order of priority, so an issue that many hundreds of users are experiencing will need to be addressed before an issue reported that is affecting only a few users or just one.



    Hi @paweleq1994 @robweltman @sjaure ,
    I have the same issue and found the root of the problem.

    In the file wp-content/plugins/nextgen-gallery/nggallery.php
    you need to replace the line
    with this:
    require_once( dirname(__FILE__) . '/vendor/autoload.php' );

    @mihaiimagely @gabyimagely please pass this to the developers.

    And let me disagree with your ticket priority policy and give you a suggestion after many years giving WordPress support: You should give priority based on how critic the issue is, not only based on the amount of reports. This is causing a 500 internal error and you have 3 different users reporting it within a week.

    Hope this helps.
    Take care you all!

    Plugin Support mihai-imagely


    Hey @eltobiano,

    Thank you very much for the fix suggestion – I have added it to the issue ticket for our developers’ review.

    And, yes, I personally agree with your point of view regarding this issue’s priority. We definitely have added it to our “most pressing and urgent” issues list since we can’t accept critical errors like this one to last.

    You can be assured that this will be fixed in the next plugin’s update.



    Hello @paweleq1994 @sjaure @eltobiano

    We had some feedback from the developers, and they already have a patched version.
    Please, feel free to contact us back using this form:, refer back to this forum thread and let them know Gaby referred you.

    Note: do not forget to include the link to this form.

    Many Thanks.

    When will this new/patched version be ready?, the 3.3.0 version is still bugged.
    Are you planning to update the version that is patched (v 3.3.1 ? )

    Today we released NextGEN Gallery 3.3.2
    Could you please try to install that update and let us know if that works for you?

    Many thanks!

    Thread Starter paweleq1994


    Works for me. Thank you 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Error thrown Class ‘C_Component_Registry’ not found’ is closed to new replies.