Skip Navigation

Fatal error after activating or updating Types

Resolved

Resolved in: 2.7.5

Topic Tags: Types plugin

Symptoms

There is a fatal error being triggered after updating or activating Types

Call to a member function get_external_repo() on null in /plugins/types/vendor/otgs/installer/includes/class-wp-installer.php:2335

Workaround

This has been fixed already by our developers but there is a cached json file in our plguin that needs to be updated.

Updating this file will fix the issue and here is the steps to do that:

  • Go to the plugins screen
  • Activate Types
  • 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 )
  • This triggers an update of the json file which should fix the issue

2 thought on Fatal error after activating or updating Types

  • Well I wasn’t able to GO TO THE PLUGINS SCREEN. Doing that invoked the error. And I have removed TYPES to be able to get to the Plugins screen. Should I move the existing Types plugin folder back into Plugins folder now that I’ve updated to WP 5.1? or should I install a new version of Types (latest version)?

    • If you restore the Types plugin folder then you should be able to visit the WordPress updates screen and manually check for updates, which will resolve the problem. If you need to update Types you should then be able to return to the plugins page to do so (although fixing this problem doesn’t involve a Types update).

Comments are closed