Plugin update triggers fatal error
-
The latest update can’t be activated due to triggering a fatal error. If the plugin is already installed and it auto-updates it will bring the entire site down.
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-content/plugins/enable-cors/src/Helpers/Cors.php:125\nStack trace:\n#0 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-content/plugins/enable-cors/src/Helpers/Cors.php(125): implode(',', 'GET,POST,OPTION...')\n#1 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-content/plugins/enable-cors/src/Plugin.php(111): Enable\\Cors\\Helpers\\Cors-]headers()\n#2 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-content/plugins/enable-cors/enable-cors.php(67): Enable\\Cors\\Plugin::init()\n#3 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-settings.php(462): include_once('/is/htdocs/wp10...')\n#4 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-config.php(97): require_once('/is/htdocs/wp10...')\n#5 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-load.php(50): require_once('/is/htdocs/wp10...')\n#6 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-blog-header.php(13): require_once('/is/htdocs/wp10...')\n#7 /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/index.php(17): require('/is/htdocs/wp10...')\n#8 {main}\n thrown in /is/htdocs/wp1033564_9MD5WDX7NZ/www/staging/wp-content/plugins/enable-cors/src/Helpers/Cors.php on line 125
- The topic ‘Plugin update triggers fatal error’ is closed to new replies.