Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_function is removed in php8 #5

Closed
d0p3fish opened this issue Oct 20, 2022 · 1 comment
Closed

create_function is removed in php8 #5

d0p3fish opened this issue Oct 20, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@d0p3fish
Copy link
Contributor

d0p3fish commented Oct 20, 2022

#6
Contao Version 4.13.10
PHP 8.1

Hi, this repository is making use of "create_function", which is marked deprecated since php7.2 and removed since php8.0.

Can you please remove "create_function" call to make the plugin compatible to php8.

[2022-10-20T12:36:21.108955+02:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: "Attempted to call function "create_function" from namespace "Contao". Did you mean to call "\safe\create_function"?" at /CONTAO4/vendor/scyfel/contao-formrecipient/forms/FormRecipient.php line 24 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedFunctionError(code: 0): Attempted to call function \"create_function\" from namespace \"Contao\".\nDid you mean to call \"\\safe\\create_function\"? at /CONTAO4/vendor/scyfel/contao-formrecipient/forms/FormRecipient.php:24)"} []

@christianbarkowsky
Copy link
Member

thx @d0p3fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants