• Hi
    We’re getting this error on the website https://thesofalab.com/

    PHP Parse error: syntax error, unexpected ‘all’ (T_STRING), expecting ‘,’ or ‘)’ in /home/wwwthesofa/public_html/wp-includes/plugin.php on line 463
    PHP Parse error: syntax error, unexpected ‘all’ (T_STRING), expecting ‘)’ in /home/wwwthesofa/public_html/wp-includes/plugin.php on line 463

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • What version of PHP are yo running?

    Thread Starter colourinvasion

    (@colourinvasion)

    The line is this

    // Do ‘all’ actions first.
    if ( isset( $wp_filter[‘all’] ) ) {
    $wp_current_filter[] = $tag;
    $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
    _wp_call_all_hook( $all_args );
    }

    Thread Starter colourinvasion

    (@colourinvasion)

    PHP 7.4

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Parse error: syntax error, unexpected ‘all’ (T_STRING)’ is closed to new replies.