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
Contao 4.12-RC1 Error invoking template editor #3238
Comments
I could not reproduce the problem. @Seefahrer enable the debug mode and post the stack trace for more information. |
As the error message shows line 345 of the cached tl_templates.php file I would assume that the relevant code comes from an extension or a DCA file of the application. @Seefahrer do you have any extensions installed? |
Installed extensions as per composer.json: "bugbuster/contao-visitors-bundle": "^1.7", stack trace: ` at vendor/terminal42/contao-easy_themes/config/config.php:65 |
easy themes is not php8 compatible as far as I know. |
The stack trace is from a different error/warning: The error from your original post is |
it’s the only stack trace I can provide. The error is obviously not caused by Easy_Themes. |
You need to first solve the warning from that extension.
Now you should be able to provide the stack trace for your original error (unless there is another Warning before that). |
Many thanks for the info! Stack trace now: ` at vendor/contao/core-bundle/src/Resources/contao/dca/tl_templates.php:590 |
Could it be the button callback here not including all parameters so that a Seems |
IMO this is a PHP 8 error on line
We have to check Silencing with |
Same in
|
I will make a PR. |
@Seefahrer thank you for testing the RC version! |
Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes contao#3238 Backport of contao#3243 for Contao 4.9 Commits ------- afb783e Fix func_get_arg ValueError
Contao 4.12-RC1:
Description
Invoking the template editor in the backend causes fllwg error message:
request.CRITICAL: Uncaught PHP Exception ValueError: "func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function" at /Users/georg/Websites/cmsc4ME/var/cache/prod/contao/dca/tl_templates.php line 345 {"exception":"[object] (ValueError(code: 0): func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function at /Users/georg/Websites/cmsc4ME/var/cache/prod/contao/dca/tl_templates.php:345)"} []
The text was updated successfully, but these errors were encountered: