When I try to load WordPress, I get a lot of Use of undefined constant ‘view’ - assumed '‘view’'
type of warnings and notices in the browser. This causes the pages to fill up with these messages before it renders the actual page content expected.
I tried changing error_reporting = E_ALL
to error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
but the warnings and notices still show up.
After doing php --ini
I located both the 7.0 and 7.1 ini files and updated the value in both and restarted both FPM services on my vagrant.
- /etc/php/7.0/fpm/php.ini
- /etc/php/7.1/fpm/php.ini
Why are these still showing up?