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

Crash Gantry/Component/Twig/TwigExtension.php #3220

Open
MotiKol opened this issue Jan 5, 2024 · 1 comment
Open

Crash Gantry/Component/Twig/TwigExtension.php #3220

MotiKol opened this issue Jan 5, 2024 · 1 comment

Comments

@MotiKol
Copy link

MotiKol commented Jan 5, 2024

Hi there,

implanting a new component ( https://joomlaboat.com/custom-tables ) in my Gantry 5 based website, here is the result. How to solve it?

Using PhP 82 (same with 8.1) and Joomlead


Symfony\Component\ErrorHandler\Error\FatalError thrown with message "Compile Error: Declaration of Gantry\Component\Twig\TwigExtension::getGlobals() must be compatible with Twig\Extension\GlobalsInterface::getGlobals(): array"

Stacktrace:
#0 Symfony\Component\ErrorHandler\Error\FatalError in /home/udqb0598/b2b-partners.com/devt/libraries/gantry5/src/classes/Gantry/Component/Twig/TwigExtension.php:53


JOOMLEAD ANSWERS

Tony wrote:

Hi there,
The issue was caused by the site using the Gantry 5 framework only ? If so, I recommend you submit the question to the Gantry 5 issue tracker: https://github.com/gantry/gantry5/issues

https://joomlead.com/ticket-support/?wpsc-section=ticket-list&ticket-id=51343032&auth-code=RU8pauLp

moti replied
2024/01/03 05:51:52

Hi Tony,

PhP 8.2 I tried to download to 8.1 ---> same problem

Happy New Year to you too !

Marc

Tony replied
2024/01/03 00:45:59
Hi there,
Which php version you are using ?
Happy New Year

moti reported
2023/12/30 15:08:29

Hi there,

implanting a new component ( https://joomlaboat.com/custom-tables ) , here is the result. How to solve it?


Symfony\Component\ErrorHandler\Error\FatalError thrown with message "Compile Error: Declaration of Gantry\Component\Twig\TwigExtension::getGlobals() must be compatible with Twig\Extension\GlobalsInterface::getGlobals(): array"

Stacktrace:
#0 Symfony\Component\ErrorHandler\Error\FatalError in /home/udqb0598/b2b-partners.com/devt/libraries/gantry5/src/classes/Gantry/Component/Twig/TwigExtension.php:53

@N8Solutions
Copy link

@MotiKol
What version of Gantry 5 are you using?
What version of Joomla are you using?
Have you tried contacting the folks at joomlaboat.com?

I'm also disappointed in Joomlead, as they should have not only asked what versions you were running to be sure your site was up-to-date, but they should have pointed you to contact Joomlaboat as well since it is their component that you are trying to add to your site.
(Please note, I'm only a volunteer, I do not work for Gantry or Rocket Theme)

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

No branches or pull requests

2 participants