Skip to content

php fatal error with php 8.0.0 #492

@Ponce

Description

@Ponce

cops' index.php with php 8.0.0 produces a blank page and I got this in my php errors log:

28-Nov-2020 15:43:13 Europe/Paris] PHP Fatal error:  Uncaught Error: Call to undefined function create_function() in /var/www/htdocs/cops/vendor/seblucas/dot-php/doT.php:94
Stack trace:
#0 /var/www/htdocs/cops/index.php(53): doT->template()
#1 {main}
  thrown in /var/www/htdocs/cops/vendor/seblucas/dot-php/doT.php on line 94

seems like create_function has been deprecated with php-7.2 and removed in 8.0.0 together with much other deprecated stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions