Mautic Community Forums

Mautic shows text where it shouldn't be

Your software
My Mautic version is: 2.15.3
My PHP version is: 7.2.24

Your problem
My problem is:

Array ( [10036] => POST [44] => [10065] => /home/master/m.everest-dom.com/vendor/joomla/http/src/Transport/cacert.pem [10015] => application=Mautic&version=2.15.3&phpVersion=7.2.24-0ubuntu0.18.04.6&dbDriver=pdo_mysql&serverOs=Linux+4.15.0-108-generic&instanceId=31249226baaaf3f588e95d3bda3cb5ec4d11f756&installSource=Mautic [10023] => Array ( [0] => Content-Type: application/x-www-form-urlencoded; charset=utf-8 [1] => Content-Length: 194 [2] => Expect: ) [13] => 10 [78] => 10 [10002] => https://updates.mautic.org/stats/send [42] => 1 [19913] => 1 [52] => 1 ) Array ( [10036] => POST [44] => [10065] => /home/master/m.everest-dom.com/vendor/joomla/http/src/Transport/cacert.pem [10015] => appVersion=2.15.3&phpVersion=7.2.24-0ubuntu0.18.04.6&stability=stable [10023] => Array ( [0] => Content-Type: application/x-www-form-urlencoded; charset=utf-8 [1] => Content-Length: 69 [2] => Expect: ) [13] => 10 [78] => 10 [10002] => https://updates.mautic.org/index.php?option=com_mauticdownload&task=checkUpdates [42] => 1 [19913] => 1 [52] => 1 )

These errors are showing in the log:
[2020-07-28 01:45:56] mautic.WARNING: PHP Warning - Invalid argument supplied for foreach() - in file /home/master/m.everest-dom.com/app/bundles/PageBundle/Model/PageModel.php - at line 1233 {“query”:“utm_source=youtube”}

Steps I have tried to fix the problem:

when touch Ctrl+F5 (clear cash) - text unshows

In php.ini , comment out:

error_reporting = E_ALL & ~E_NOTICE
error_reporting = E_ALL & ~E_NOTICE | E_STRICT
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ER… _ERROR
error_reporting = E_ALL & ~E_NOTICE

By placing a ; ahead of it (i.e., like ;error_reporting = E_ALL & ~E_NOTICE )

1 Like