Closed mennoswaak closed 1 month ago
Hello Menno,
Disable Twig Loading in Global Configuration / Custom Tables
Hello Ivan
that was already my setting
Can you please make a screen-shot with the error message?
So I had to disable the plugin and then when I visit the site at the frontend these 2 messages at the left (schermafdruk-1.jpg)
and a bigger one at the right (schermafdruk-2.jpg)
And beneath that there is more information on Environment & details
I think I know where is the problem. Please uninstall Custom Tables Plugin and download/install again.
Old plugin used Joomla 3 file structure and the new one Joomla 4 MVC, installing new plugin over the old left an old file there, and the old file didn't read Global Configuration params.
After reinstalling, the problem is the same. The strange thing that everything works fine when the plugin is disabled. All tables and forms included. How can that be?
Can you show what files are in /plugin/content/customtables folder?
customtables.xml index.html inputbox: tablejoin.php tablejoinlist.php js: chart.js jquery.uploadfile.js raphael.js raphael.min.js protagprocessor customphp.php helpers.php index.html phptags.php servertags.php services provider.php src
file: src/Extension/customtables.php
please try to change the line 69 to
$loadTwig = false;//$params->get('loadTwig') ?? true;
I suspect that it cannot read the configuration value.
I tried to repeat the same situation on my localhost and nothing. No errors.
on line 69 I see only a }
Is that what you want me to replace?
It looks like the Custom Tables Plugin is not updated on your website.
The date of the file showed it was updated. So I did another update and now it is working well thanks
Glad to hear that.
This afternoon I updated Custom Tables, Pro and the Modules to the newest version. At the frontend I now get a Compile Error. It looks like it comes from Gantry and a Twig extension. It comes with much more messages but the site is not available.
So I disabled the Custom Tables Plugin and the site is available again. Strangely enough: my Custom Tables, detail pages and edit forms are working as they should.
What is happening?
regards Menno