We are facing issue with Toolset Type plugin for multisite after updating to wordpress to 5+.
When we have network activate this plugin.. we can not access admin pages any more.
If we activate this plugin for any one site, we can access admin pages but not plugin page.
Below is error log.
PHP 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:2315\nStack trace:\n#0 [internal function]: WP_Installer->plugins_upgrade_check(Object(stdClass))\n#1 /wp-includes/class-wp-hook.php(288): call_user_func_array(Array, Array)\n#2 /wp-includes/plugin.php(208): WP_Hook->apply_filters(Object(stdClass), Array)\n#3 /wp-includes/option.php(1815): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins')\n#4 /wp-includes/update.php(332): set_site_transient('update_plugins', Object(stdClass))\n#5 /wp-includes/update.php(747): wp_update_plugins()\n#6 [internal function]: _maybe_update_plugins('')\n#7 /wp-includes/class-wp-hook.php(286): call_user_func_array('_maybe_update_p...', Array)\n#8 /wp-includes/class-wp-hook.ph in /wp-content/plugins/types/vendor/otgs/installer/includes/class-wp-installer.php on line 2315, referer:
[Wed Apr 10 17:29:18.490126 2019] [php7:error] [pid 5589] [client 5.9.0.163:35308] script '/nas/wp/www/sites/mlrugby/wp-includes/wp-caches.php' not found or unable to stat, referer: hidden link
Hello,
It is a known issue, please test the workaround of below errata:
https://toolset.com/errata/fatal-error-after-activating-or-updating-types/
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