thank you so much. I will investigate the problem.
I tested it php8 and I did not get any error. can you tell me your cdn-url please?
Thread Starter
Tommy
(@baptistej)
I can’t post my URL here but this is what I found in my errors log file.
2022/01/29 12:35:03 [error] 624#624: *223504 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /web/public/wp-content/plugins/wp-fastest-cache/inc/cdn.php:371
Stack trace:
#0 /web/public/wp-content/plugins/wp-fastest-cache/inc/cdn.php(371): method_exists()
#1 /web/public/wp-content/plugins/wp-fastest-cache/wpFastestCache.php(547): CdnWPFC::check_url()
#2 /web/public/wp-includes/class-wp-hook.php(303): WpFastestCache->wpfc_check_url_ajax_request_callback()
#3 /web/public/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#4 /web/public/wp-includes/plugin.php(470): WP_Hook->do_action()
#5 /web/public/wp-admin/admin-ajax.php(187): do_action()
#6 {main}
thrown in /web/public/wp-content/plugins/wp-fastest-cache/inc/cdn.php on line 371" while reading response header from upstream, client: IP, server: mysite.com, request: "GET /wp-admin/admin-ajax.php?action=wpfc_check_url&url=https%3A%2F%2Fcdn.mysite.com&origin_url=https%3A%2F%2Fmysite.com&type=other&_fs_blog_admin=true HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm-.sock:", host: "mysite.com", referrer: "https://mysite.com/wp-admin/admin.php?page=wpfastestcacheoptions"
I’m using BunnyCDN.
-
This reply was modified 4 years, 3 months ago by
Tommy.
can you disable FastCGI and try please?
Thread Starter
Tommy
(@baptistej)
The issue was caused by my CDN provider (Bunny.net), there is an option call “Block Root Path Access”
This option is blocking the plugin during the configuration and it should be disabled when configuring the plugin. It can be enabled once the plugin is configured.
Sorry for the confusion, your plugin is actually working.
thank you for your information.