You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent 8 hours trying to get this plugin functional.
First, this plugin didn't work, if conditionals always ran the ELSE case regardless of input format that was passed from API token values. I tried all sorts of variations including using mj-raw, without using mj-raw, using string vs. int values, but nothing made the logic work as expected.
Second, after several hours of testing variations to see if I could get it working, I went to Save my email template change, and my Mautic server nuked itself completely.
From that point forward, when I tried to do anything in Mautic, there was a bunch of JavaScript errors and none of the menus were responding (I couldn't even open the Settings menu to uninstall the plugin).
Even after uninstalling the plugin files, clearing cache, and manually removing the plugin database entry, I still couldn't fix the Mautic server.
I reinstalled all the Mautic files (continued using the same database), still didn't fix it.
I finally had to reinstall the MySQL database from beginning, and manually reinsert the records I needed.
Only then did my Mautic server run normally again.
So yeah, don't waste your time with this plugin. Huge waste of time and unstable.
I can't even tell you anymore what PHP errors and JavaScript errors I was seeing, it was a long list of errors being thrown. It said that JQuery couldn't be found, which didn't make sense, because the main app JS file was being loaded and it had all the code for JQuery there.
I couldn't figure out how to recover the server, the error messages were all over the places, there was no guidance as to what went wrong.
The text was updated successfully, but these errors were encountered:
I've just installed with 5.2.1 using composer (adding the git as repository in composer.json and composer require Logicify/mautic-advanced-templates-bundle). Mautic still works.
Just wanted to add my 2 cents here @ctotech-pl. We have this problem as well (the jQuery problem) and in my experience, this is due to mautic:assets:generate. I am running Mautic in Docker (and several others not with Docker - running Mautic in Docker has been a headache all around for me) and as soon as I issue just one m:a:g command (sometimes in conjunction with clearing cache), Mautic breaks.
In these cases, I have now found what can be done to rectify the situation, maybe these will be helpful for others who have wasted a huge amount of time on this (will be probably be applicable to other installtion methods as well):
Exec into container as root
apt install npm nodejs -y
mkdir /var/www/.npm
chown -R 33:33 /var/www/.npm
change to user www-data
npm ci --prefer-offline --no-audit
npx patch-package
cd ~/html/bin (still as www-data)
issue php console m:a:g command (still as www-data)
clear cache (either with command or by rm -rf the cache/* folder
If in container, you can then remove the countless unnecessary nodejs/npx stuff or leave it there, if the inflation in size (about 2 gigs) does not bother you.
I spent 8 hours trying to get this plugin functional.
First, this plugin didn't work,
if
conditionals always ran the ELSE case regardless of input format that was passed from API token values. I tried all sorts of variations including using mj-raw, without using mj-raw, using string vs. int values, but nothing made the logic work as expected.Second, after several hours of testing variations to see if I could get it working, I went to Save my email template change, and my Mautic server nuked itself completely.
From that point forward, when I tried to do anything in Mautic, there was a bunch of JavaScript errors and none of the menus were responding (I couldn't even open the Settings menu to uninstall the plugin).
Even after uninstalling the plugin files, clearing cache, and manually removing the plugin database entry, I still couldn't fix the Mautic server.
I reinstalled all the Mautic files (continued using the same database), still didn't fix it.
I finally had to reinstall the MySQL database from beginning, and manually reinsert the records I needed.
Only then did my Mautic server run normally again.
So yeah, don't waste your time with this plugin. Huge waste of time and unstable.
I can't even tell you anymore what PHP errors and JavaScript errors I was seeing, it was a long list of errors being thrown. It said that JQuery couldn't be found, which didn't make sense, because the main app JS file was being loaded and it had all the code for JQuery there.
I couldn't figure out how to recover the server, the error messages were all over the places, there was no guidance as to what went wrong.
The text was updated successfully, but these errors were encountered: