Skip Navigation

[Gelöst] Types plugin causes a fatal error that turns plugin page blank

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

In this ticket the user was getting a fatal error suddenly on their site without any changes.

The error was
Call to a member function get_external_repo() on null

Solution:

If you are experiencing something similar on your site it could be due to the release of our Toolset Blocks plugin so I would recommend following the steps below to resolve the issue.

1. go to the plugins screen
2. activate Types as it was disconnected
3. go to the WP updates screen ( /wp-admin/update-core.php )
4. click on the check for updates button (one or a couple of times) ( /wp-admin/update-core.php?force-check=1 )

This support ticket is created vor 5 Jahren, 7 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 12 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Shane vor 5 Jahren, 7 Monaten.

Assistiert von: Shane.

Author
Artikel
#1228844

I am trying to: go to my plugins page

Link to a page where the issue can be seen: versteckter Link will provide login info if needed

I expected to see: all of my plugins listed

Instead, I got: plugins page is empty and this is in my wpengine error log: Fatal error: Uncaught Error: Call to a member function get_external_repo() on null in /nas/content/staging/anneakiko1741/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php:2335 Stack trace: #0 [internal function]: WP_Installer->setup_plugins_page_notices('') #1 /nas/content/staging/anneakiko1741/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array) #2 /nas/content/staging/anneakiko1741/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /nas/content/staging/anneakiko1741/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /nas/content/staging/anneakiko1741/wp-admin/admin-header.php(276): do_action('admin_notices') #5 /nas/content/staging/anneakiko1741/wp-admin/plugins.php(459): require_once('/nas/content/st...') #6 {main} thrown in /nas/content/staging/anneakiko1741/wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php on line 2335

#1228855

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

Thank you for contacting our support forum.

Were there any changes done to your site that caused this to occur ?

Please let me know as soon as possible.

Thanks,
Shane

#1228860

No, the site was working fine a few days ago and then today I had the error. The only thing that was done before noticing the error was updating the Types plugin along with several others including Elementor.

#1228865

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

I recognise the issue as you are not the only customer reporting. It seems this is related to our recent Toolset blocks release. I've already made a report to our 2nd tier team for further investigations on this .

Thanks,
Shane

#1228929

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

Would you mind allowing me to have admin access to the website so that I can have a look?

Thanks,
Shane

#1228932

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

Could you try doing this.

1. go to the plugins screen
2. activate Types as it was disconnected
3. go to the WP updates screen
4. click on the check for updates button (one or a couple of times)

Please let me know the results.

Thanks,
Shane

#1228947

Hi Shane,

The plugins admin page is completely blank so there is no way to modify any plugins. I sent the login info.

Thanks,
Peter

#1228954

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

I tried logging in with the credentials but they don't seem to work.

Could you just try this section here.

go to the WP updates screen ( /wp-admin/update-core.php )
click on the check for updates button (one or a couple of times) ( /wp-admin/update-core.php?force-check=1 )

Please let me know as soon as possible the results.

#1229016

I clicked the check for updates button 10 times or more with no luck. There is an issue with WP Engine where the login loops. The login info I gave you was correct but if it brings you back to the login page over and over change the address from: versteckter Link

to: versteckter Link

#1229299

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

This seems to be working now.

I've checked on your backend and it seems fine now.

Could you confirm on your end?

Thanks,
Shane

#1229465

Hi Shane - Yes it works now, thank you. Was this resolved by updating the Types plugin?

#1229469

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Peter,

Actually no it was not resolved by this.

It seems it was an issue on our side for the most part and our plugin needed to re-check or ping our system to get the accurate data and it was taking some time.

What could've happened to your site is that it was getting the updating information as yet but now it seems to be fine.

You are welcomed to mark this ticket as resolved if there are no further questions for this.

Thanks,
Shane

#1230041

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Resolved