You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two versions of PHP, 7.3 and 8 installed. With the same web page in Grav, the one loaded with PHP8, it shows this error:
C:\xampp\htdocs\grav\user\plugins\shortcodes\classes\Autoloader.php
// Load class
if (stream_resolve_include_path($file)) {
return include_once($file);
}
return false;
}
}
return false;
}
/**
* Registers this instance as an autoloader
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register([$this, 'autoload'], false, $prepend);
}
/**
* Unregisters this instance as an autoloader
*/
public function unregister()
{
spl_autoload_unregister([$this, 'autoload']);
}
}
Arguments
"spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() will always throw"
Is this plugin compatible with PHP 8?
The text was updated successfully, but these errors were encountered:
Hello.
I have two versions of PHP, 7.3 and 8 installed. With the same web page in Grav, the one loaded with PHP8, it shows this error:
Is this plugin compatible with PHP 8?
The text was updated successfully, but these errors were encountered: