(An unexpected error occurred: #0)

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 5, 2023   (RSS)

By Dave - May 5, 2023

Hi Shannonr,

By default, CMS Builder will hide any errors, log them to the CMS error log, and display that generic message.

When debugging issues it can be helpful to see the messages, and you can do that by unchecking this setting:

Admin > Security > Hide PHP Errors: [_] Hide all warnings and show "An unexpected error occurred #" for errors. View error log >>

However, if you can't login you can manually disable that by editing the /data/settings.dat.php file and ensuring this value is set to zero ("0")

'phpHideErrors' => '0',

Hope that helps, let us know if you have any other questions.

Dave Edis - Senior Developer
interactivetools.com