Update from 5.7.5.13 to 5-8.4.3

Permalink
I updated a site from concrete5.7.5.13 to 5-8.4.3 so I can host the site using php7.2 as my host is forcing the change.

I have another (new) site running on php7.2 with version 5-8.4.2 without any problems on the same host, however the updated site gives an error “Use of undefined constant URL_REWRITING - assumed 'URL_REWRITING' (this will throw an Error in a future version of PHP)”

I have tried clearing cache removing the pretty urls and the .htaccess file, but without any change. No errors with site site on php5.4, just 7.2.

Anybody have any ideas what could be causing this?

Thank you.

 
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Look in application/config folder and check the files in there for the text URL_REWRITING and change it to 'URL_REWRITING' (with apostrophe's)
cmcg replied on at Permalink Reply
I did a search and found it in the theme. Thanks for your help Weyboat!