mautic / mautic

Mautic: Open Source Marketing Automation Software.
https://www.mautic.org
Other
6.84k stars 2.51k forks source link

[Solved] Jquery - TypeError: $.FE is undefined #2115

Closed comunidademagento closed 7 years ago

comunidademagento commented 7 years ago

What type of report is this:

Q A
Bug report? Y
Feature request? N
Enhancement? Y

Description:

See image - http://image.prntscr.com/image/4139f8683cc143e5900af76d06a3fa63.png

Presented several javacript errors in firebug console and my installation Mautic not work properly.

http://www.marketing.comunidademagento.com.br/mautic-master/s/login

If a bug:

Q A
Mautic version 2.0.1
PHP version 5.6

Steps to reproduce:

  1. http://www.marketing.comunidademagento.com.br/mautic-master/s/login
  2. Open firebug console to view javascript errors

    Log errors:

Please check for related errors in the latest log file in [mautic root]/app/log/ and/or the web server's logs and post them here. Be sure to remove sensitive information if applicable.

[2016-07-26 17:06:19] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service "fos_rest.form.extension.csrf_disable" is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /home/xxx.cloudwaysapps.com/xxx/public_html/mautic-master/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] [] [2016-07-26 17:06:52] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service "fos_rest.form.extension.csrf_disable" is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /home/xxx.cloudwaysapps.com/xxx/public_html/mautic-master/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] [] [2016-07-26 17:07:15] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service "fos_rest.form.extension.csrf_disable" is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /home/xxxx.cloudwaysapps.com/xxx/public_html/mautic-master/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] [] [2016-07-26 17:17:34] mautic.ERROR: Deprecation: The alias option of the form.type_extension tag of service "fos_rest.form.extension.csrf_disable" is deprecated since version 2.8 and will be removed in 3.0. Use the extended_type option instead. - in file /home/xxx.cloudwaysapps.com/xxx/public_html/mautic-master/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []

Response Technical Support Cloudways:

I have been looking into the issue and it seems that the errors are related to domain not updating properly in the Jquerys while being added as the Primary domain. As it seems to be a code level issue, i have been searching if theres anything from the server level involved in this but unfortunately it seems that this needs to be updated over the code level in Jquery and database level. I have found below articles on this , Please go through them as you may find it helpful in further troubleshooting the issue : http://stackoverflow.com/questions/32913381/datatables-editor-reports-typeerror-f-is-undefined-when-updating-record-server http://stackoverflow.com/questions/33649699/ajax-data-source-objects-typeerror-f-is-undefined

escopecz commented 7 years ago

I cannot reproduce it on any of my Mautic instances. Could you check if there is some layer in your server which could block some assets or cache them? Some CDN? Or I heard that a WP security plugin can also break Mautic. Or some htaccess rule. Or nginx configuration.

comunidademagento commented 7 years ago

Hi @escopecz

This problem is solved.

Only change cloud colors to cloud gray in Cloudflare.

Thanks for help-me and please close this issue.

cloudgray01 cloudgray02