Skip to content

Critical error <PHP 8.0 #23

Closed
Closed

Description

@annakolozsvari

PHP 7.4 and older have reached their end of life, but many sites still run them. If they do, they'll get:
PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /wp-content/plugins/progress-bar/functions.php on line 217

Activity

  1. jazzsequence commented on May 18, 2023

    @jazzsequence
    Owner

    You're right and I should probably add a PHP compatibility checker to ensure backwards compatibility. 👍

  2. self-assigned this
    on May 18, 2023
  3. annakolozsvari commented on May 19, 2023

    @annakolozsvari
    Author

    Thank you for the prompt fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions