Hello bPlugins LLC support team,
we just updated Html5 Video Player from v2.5.14 to v2.5.15. This immediately crashed both of our sites we use your plugin in.
The first site generated a “WordPress technical problem” mail with recovery mode. Here is the error stack shown in the mail:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 30 der Datei /[SERVER-PATH]/wp-content/plugins/html5-video-player/inc/Init.php verursacht.
Fehlermeldung: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /[SERVER-PATH]/wp-content/plugins/html5-video-player/inc/Init.php:30
Stack trace:
0 /[SERVER-PATH]/wp-content/plugins/html5-video-player/inc/Init.php(30): method_exists(NULL, 'register')
1 /[SERVER-PATH]/wp-content/plugins/html5-video-player/html5-video-player.php(74): H5VP\Init::register_services()
2 /[SERVER-PATH]/wp-includes/class-wp-hook.php(310): {closure}('')
3 /[SERVER-PATH]/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
4 /[SERVER-PATH]/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
5 /[SERVER-PATH]/wp-settings.php(495): do_action('plugins_loaded')
6 /[SERVER-PATH]/wp-config.php(126): require_once('/www/htdocs/w01…')
7 /[SERVER-PATH]/wp-load.php(50): require_once('/www/htdocs/w01…')
8 {main}
thrown
The second site simply crashed without any mail and just showed the following PHP error message on frontend:
TypeError thrown
method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
Both of the websites are WordPress 6.3.2, one uses the current version of the theme “Avada”, the other the current version of the theme “Virtue – Premium”, both installations are running on PHP 8.1.22, all other plugins are updated to their most current version.
PS: Beside this something with your versioning here on projectdmc.org seems to be wrong. The current (buggy) version of your plugin is 2.5.15 but the changelog on https://projectdmc.org/plugins/html5-video-player/#developers shows completely other numbers.
Greetings,
-doffine