• hilmon

    (@hilmon)


    Looks like that update has broken some of my clients’ websites which still use PHP version 7.3.33 .. I realise it’s not supported anymore, but other plugins check the version and don’t update if below 7.4.

    Your Site is Experiencing a Technical Issue

    WordPress version 6.4.1
    Active theme: My Site (version 2)
    Current plugin: Cookie Notice & Compliance for GDPR / CCPA (version 2.4.12)
    PHP version 7.3.33 Error Details

    An error of type E_ERROR was caused in line 46 of the file /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-content/plugins/cookie-notice/includes/modules/wp-fastest-cache/wp-fastest-cache.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Cookie_Notice_Modules_WPFastestCache::delete_cache(), 0 passed in /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-content/plugins/cookie-notice/includes/modules/wp-fastest-cache/wp-fastest-cache.php on line 34 and exactly 1 expected in /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-content/plugins/cookie-notice/includes/modules/wp-fastest-cache/wp-fastest-cache.php:46
    Stack trace: 0 /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-content/plugins/cookie-notice/includes/modules/wp-fastest-cache/wp-fastest-cache.php(34): Cookie_Notice_Modules_WPFastestCache->delete_cache() 1 /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-includes/class-wp-hook.php(324): Cookie_Notice_Modules_WPFastestCache->check_wpfc(”) 2 /var/www/vhosts/99/1151743/webspace/httpdocs/mysite.ie/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 3 /var/www/vhosts/99/1151743

Viewing 2 replies - 1 through 2 (of 2 total)
  • Property Hive

    (@propertyhive)

    Was getting the same on my site after updating. Whilst we wait for an update the solution was to edit:

    /includes/modules/wp-fastest-cache/wp-fastest-cache.php

    … and change line 46 from:

    public function delete_cache( $type ) {

    … to:

    public function delete_cache( $type = '' ) {

    Plugin Author dFactory

    (@dfactory)

    This issue has already been fixed in just released 2.4.13 Please update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Last Update – WPFastestCache Issue (again) – PHP 7.3 Critical Error’ is closed to new replies.