-
Hi we made a migration from a bitnami stack with php 7.14 to a new stack with php 8.1, migrating all wordpress files and tables to a new server.
After the migration is concluded and the site s working fine, with all functions, we run into some problem with fv player pro, it stopped to work, after a few tests we disable the fast options in stream loader and now it is work as usually.
looking into our logs we found this in nginx log:
#0 {main} thrown in /bitnami/wordpress/wp-content/plugins/fv-player-pro-7/stream-loader.php on line 18" while reading response header from upstream, client: 177.40.5.219, server: _, request: "> 2025/02/12 05:29:59 [error] 25513#25513: *821 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /bitnami/wordpress/wp-content/plug> Stack trace: #0 {main} thrown in /bitnami/wordpress/wp-content/plugins/fv-player-pro-7/stream-loader.php on line 18" while reading response header from upstream, client: 177.40.5.219, server: _, request: "> 2025/02/12 05:30:19 [error] 25513#25513: *842 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /bitnami/wordpress/wp-content/plug> Stack trace: #0 {main} thrown in /bitnami/wordpress/wp-content/plugins/fv-player-pro-7/stream-loader.php on line 18" while reading response header from upstream, client: 177.40.5.219, server: _, request: "> 2025/02/12 05:30:20 [error] 25513#25513: *842 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /bitnami/wordpress/wp-content/plug> Stack trace: #0 {main}
one thing that got my attention is that wordpress plugin path in this stack has changed to /stack/wordpress/wp-content/plugins/
is there any way to fix this?