Skip Navigation

[Resolved] Fatal error: Uncaught Error: Call to a member function get_external_repo()

This thread is resolved. Here is a description of the problem and solution.

Problem: I see a Fatal error: Uncaught Error: Call to a member function get_external_repo() on null, and I cannot access the Plugins page.

Solution: Activate Types then go to wp-admin/update-core.php and click "Check for Updates". You may have to do this more than once.

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 3 voices.

Last updated by krisP-3 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1228861

Hi Toolset-Team Support,

I got this Error in all my site since today in the WP-Admin page "plugins", very critical situation for my a WP-Admin ...

Fatal error: Uncaught Error: Call to a member function get_external_repo() on null in /wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php:2335 Stack trace: #0 wp-includes/class-wp-hook.php(286): WP_Installer->setup_plugins_page_notices('') #1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /wp-admin/admin-header.php(276): do_action('admin_notices') #4 /wp-admin/plugins.php(459): require_once('/www/htdocs/...') #5 {main} thrown in /wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php on line 2335

My guess ... something in the "call-home" function / infrastructure on your site is broken ... because no update on the WP-Installation & PlugIns are happend!

Please help as soon as possible!
Thanks very much & best Regards

#1228862

Hi, I'm splitting this issue into a separate ticket so we can be sure the problem gets resolved as soon as possible. Stand by and I will update you shortly.

#1228926

My issue is now escalated to 2nd Tier support unit via a new support ticket. Thank you!

#1229042

I am seeing this exact same issue. I am hoping I can force the prior version to prevent this issue but I am getting it on all my sites too.

#1229048

After reading this https://toolset.com/forums/topic/types-suddenly-causing-a-fatal-error/ And doing /wp-admin/update-core.php?force-check=1 a few times, the issue resolved. Thank You!