nickian / mautic-whitelabeler

Easily change the logos, colors and company name in the Mautic user interface.
275 stars 112 forks source link

Error: undefined when applying whitelabel #120

Closed andres-asm closed 2 years ago

andres-asm commented 2 years ago

Hi

Since 4.0.2 I'm facing this:

image

I don't see any errors in nginx logs. Just the undefinded. Anyway I can debug?

andres-asm commented 2 years ago

the cli whitelabeler works though for some reason so that's good

andres-asm commented 2 years ago

Seems to be an issue of my LEMP environment or probably a permissions thing. When it was permissions I did get errors, so perhaps a PHP setting

andres-asm commented 2 years ago

Hmm not permissions, switched everything to www-data:www-data and 777 and nothing

nickian commented 2 years ago

Are you able to find any other specific errors in either the browser console or your web server's error log?

nickian commented 2 years ago

Also, sometimes PHP and PHP-CLI are running different versions. Make sure you have the same PHP extensions installed for both.

andres-asm commented 2 years ago

no, on my environment they are identical on the web server I did see one permissions error, but I was able to fix that.

I just noticed nginx is not supported, but it would be nice to know why it's failing.

nickian commented 2 years ago

It works fine on NGINX for me. What does your NGINX error log say? Probably in /var/log/nginx/error.log. You can try using tail -f /var/log/nginx/error.log and run the whitelabeler while your terminal watches for errors in realtime.

Getron commented 2 years ago

Hi

The same error here

I have Apache server, php7.4 and all work fine, but this error is there, and i can't apply whitelabeler anymore.

On the v4.0 it has working, but, the last 2 versions has this problem. And i can't debug this with php logs, or web site logs, no errors there. It just stopping there, and doesn't do anything.

peter-palmer commented 1 year ago

Hello, any solutions on this? I´m getting this error nowadays...

image