• Resolved joho68

    (@joho68)


    On a site I use for plugin development, I just started seeing this:

    PHP Parse error: syntax error, unexpected '|', expecting ';' or '{' in /[..]/public_html/wp-content/plugins/wp-cron-pixie/includes/class-cron-pixie.php on line 460

    The site is configured to use PHP-FPM 7.4. The WP Cron Pixie version is 1.6.1.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joho68

    (@joho68)

    This error occurs due to the bool|WP_Error return construct for several functions in that file. AFAIK, this style of function declaration isn’t compatible with PHP 7.4.

    Plugin Author ianmjones

    (@ianmjones)

    Oops, sorry about that @joho68.

    WP Cron Pixie v1.6.2 has just been released with a fix for PHP 7.4 compatibility.

    Thread Starter joho68

    (@joho68)

    Great! Yes, that seems to fix the issue.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.