Can’t activate the plugin
-
Kindly Fix this error: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/beeketing-for-woocommerce/vendor/sentry/sentry/lib/Raven/Client.php on line 326
The error you’re seeing is due to using curly braces
{}for string offset access, which was deprecated in PHP 7.4 and removed in PHP 8.0. ❌ Problematic Lineif ($path{0} === DIRECTORY_SEPARATOR && substr($path, -1) !== DIRECTORY_SEPARATOR) {✅ Fix: Use square brackets
[]for string offset accessif ($path[0] === DIRECTORY_SEPARATOR && substr($path, -1) !== DIRECTORY_SEPARATOR) {
The topic ‘Can’t activate the plugin’ is closed to new replies.