PHP7.2-FPM error
-
Hi Bjoern,
I’m fighting with PHP7.2-FPM (under Apache, but I presume it’ll be the same under Nginx) and I’m getting an error related to your plugin.
Most probably this happens because PHP7.2-FPM is not loaded as Apache module.
Check this https://stackoverflow.com/questions/2916232/call-to-undefined-function-apache-request-headers
Error below:AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function apache_request_headers() in /PATH/TO/SITE/FOLDER/wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_serve_image.php:216\nStack trace:\n#0 /PATH/TO/SITE/FOLDER/wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_serve_image.php(332): WPPP_Serve_Image->check_cache_headers()\n#1 /PATH/TO/SITE/FOLDER/wp-content/plugins/wp-performance-pack/modules/dynamic_images/serve-dynamic-images.php(101): WPPP_Serve_Image->serve_image()\n#2 {main}\n thrown in /PATH/TO/SITE/FOLDER/wp-content/plugins/wp-performance-pack/modules/dynamic_images/class.wppp_serve_image.php on line 216\nPHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in /PATH/TO/SITE/FOLDER/wp-includes/formatting.php:4316\nStack trace:\n#0 /PATH/TO/SITE/FOLDER/wp-includes/class-wp-fatal-error-handler.php(190): esc_url(‘https://wordpre…’)\n#1 /PATH/TO/SITE/FOLDER/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)\n#2 /PATH/TO/SITE/FOLDER/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)\n#3 [internal function]: WP_Fatal_Error_Handler->handle()\n#4 {main}\n thrown in /PATH/TO/SITE/FOLDER/wp-includes/formatting.php on line 4316\n’, referer: https://MYSITE.URL/CATEGOERY/POST
- The topic ‘PHP7.2-FPM error’ is closed to new replies.