• Resolved tkwpweb

    (@tkwpweb)


    Hello,

    i hope some developers here. I really like this Plugin. The Autoblock function is very nice and that the page dont reload after accept is nicer.

    But looks like the devs dont support this Plugin.

    This Version is not compatible with new Autoptimize 2.6.0 version.

    2019/12/26 01:37:42 [error] 6578#6578: *37827 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function SmartCookieKit\NMOD_SmartCookieKit_Frontend::exclude_min_resources_autoptimize(), 1 passed in /var/www/xxxxx/docs/wordpress/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /var/www/xxxxx/docs/wordpress/wp-content/plugins/smart-cookie-kit/plugin_frontend.php:524
    Stack trace:
    #0 /var/www/xxxxx/docs/wordpress/wp-includes/class-wp-hook.php(288): SmartCookieKit\NMOD_SmartCookieKit_Frontend->exclude_min_resources_autoptimize(true)
    #1 /var/www/xxxxx/docs/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(true, Array)
    #2 /var/www/xxxxx/docs/wordpress/wp-content/plugins/autoptimize/classes/autoptimizeScripts.php(98): apply_filters('autoptimize_fil...', true)
    #3 /var/www/xxxxx/docs/wordpress/wp-content/plugins/autoptimize/classes/autoptimizeMain.php(496): autoptimizeScripts->read(Ar" while reading response header from upstream, client: xxxxx, server: xxxxx.de, request: "GET /404-2/ HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.3-xxxxx.sock:", host: "xxxxx.de", referrer: "https://xxxxx.de/"
    
    2019/12/26 01:38:57 [error] 6578#6578: *37847 FastCGI sent in stderr: "PHP message: PHP Warning:  ob_end_flush(): Could not call the sapi_header_callback in /var/www/xxxxx/docs/wordpress/wp-includes/functions.php on line 4552" while reading response header from upstream, client: xxxxx, server: xxxxx.de, request: "GET /?ao_speedup_cachebuster=26530 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-xxxxx.sock:", host: "xxxxx.de", referrer: "https://xxxxx.de/?ao_speedup_cachebuster=26530"
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nicola Modugno

    (@shark986)

    Hello @tkwpweb,

    I don’t know the reason, but they changed their code and the filter used to tell their plugin to ignore SCK script has been upset!!

    It has now a different definition and it seems that it is changed even in terms of logic. I have disabled that filter in this moment and will re-test their whole plugin.

    Could you check if v. 2.2.3 of SCK works fine?

    I have seen your messages and their replies and I will answer there, too.

    Thankyou for your bug report.

    Nicola.

    I just looked into this as well and confirm this is due to a change in a filter on my side, 2.6.1 will contain a workaround to avoid the ugly breakeage, the fix is already in the github version which can be downloaded here.

    sorry for the inconvenience!
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It’s not compatible with Autoptimize’ is closed to new replies.