TangibleInc / template-system

A template system for WordPress with content type loops and conditions
https://docs.loopsandlogic.com/reference/template-system/
8 stars 3 forks source link

Warnings appearing on the frontend of the site even tho the debug displayis false #44

Closed emmasteluta closed 9 months ago

emmasteluta commented 10 months ago

Earlier today I upgraded to L&L 4.0.0 on a site and everything was fine. I just upgraded to another site to 4.0.1 and I've got warnings appearing on the frontend of the website? Going back to 4.0.0 did not fix the problem until I've switched back to 3.3.1

image (14)

image (15)

eliot-akira commented 10 months ago

Hi, thanks for the issue report. I looked into it, and it seems that something outside the plugin is causing it. On the site where the error is happening, do you have an older Tangible plugin installed, maybe BeaverDash?

I think it's a compatibility issue with an older plugin defining the same function. I tried to improve the way the tangible_logic function is loaded, to avoid this situation.

Would you mind downloading the newest Template System from the link below, and trying it on the site? (From the admin, Plugins -> Add New Plugin -> Upload.)

https://codeload.github.com/TangibleInc/template-system/zip/refs/heads/main

For testing purpose, after the plugin is activated, you can deactivate L&L to ensure this one is running. If there are no warnings, it's a success and I'll update L&L with this change.

If the issue is still there - maybe you can try deactivating BeaverDash or any other Tangible plugin, if there are any, and see if it makes a difference.

emmasteluta commented 10 months ago

Hi @eliot-akira! Sorry for replying late. We've tested the method you've mentioned and it worked! So I think you can go and push the changes.

Thanks for looking into this one!

eliot-akira commented 9 months ago

Good to know, thanks!