### PHP Error when going to the url http(s)://example.com/ ### Fatal error: Uncaught TypeError: DateTimeZone::__construct(): Argument #1 ($timezone) must be of type string, mixed given in /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php:144 Stack trace: #0 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php(144): DateTimeZone->__construct() #1 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php(67): strftime_replacement() #2 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.theme.php(331): date_strformat() #3 /home/cnplqtma/domains/example.com/public_html/fp-plugins/archives/plugin.archives.php(50): theme_date_format() #4 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.filesystem.php(51): plugin_archives_monthlist->_exitingDir() #5 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.filesystem.php(19): fs_filelister->_listFiles() #6 /home/cnplqtma/domains/example.com/public_html/fp-plugins/archives/plugin.archives.php(78): fs_filelister->__construct() #7 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.wp-plugin-interface.php(134): plugin_archives_head() #8 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.theme.php(311): do_action() #9 /home/cnplqtma/domains/example.com/public_html/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^2ee303d0915c03ec78713a4944cfd6dfabf0679e_0.file.header.tpl.php(33): theme_smarty_function_action() #10 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_resource_base.php(123): content_670fae6a3c49f3_42392426() #11 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #12 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #13 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #14 /home/cnplqtma/domains/example.com/public_html/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^2c5f253910a6548ffb2fff1c67e979e800f47d4f_0.file.index.tpl.php(28): Smarty_Internal_Template->_subTemplateRender() #15 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_resource_base.php(123): content_670fae6a3bc839_26744752() #16 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #17 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #18 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #19 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute() #20 /home/cnplqtma/domains/example.com/public_html/index.php(186): Smarty_Internal_TemplateBase->display() #21 /home/cnplqtma/domains/example.com/public_html/index.php(194): index_display() #22 {main} thrown in /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php on line 144 ### PHP Error when going to the url http(s)://example.com/login.php ### Fatal error: Uncaught TypeError: DateTimeZone::__construct(): Argument #1 ($timezone) must be of type string, mixed given in /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php:144 Stack trace: #0 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php(144): DateTimeZone->__construct() #1 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php(67): strftime_replacement() #2 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.theme.php(331): date_strformat() #3 /home/cnplqtma/domains/example.com/public_html/fp-plugins/archives/plugin.archives.php(50): theme_date_format() #4 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.filesystem.php(51): plugin_archives_monthlist->_exitingDir() #5 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.filesystem.php(19): fs_filelister->_listFiles() #6 /home/cnplqtma/domains/example.com/public_html/fp-plugins/archives/plugin.archives.php(78): fs_filelister->__construct() #7 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.wp-plugin-interface.php(134): plugin_archives_head() #8 /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.theme.php(311): do_action() #9 /home/cnplqtma/domains/example.com/public_html/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^2ee303d0915c03ec78713a4944cfd6dfabf0679e_0.file.header.tpl.php(33): theme_smarty_function_action() #10 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_resource_base.php(123): content_670fae6a3c49f3_42392426() #11 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #12 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #13 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #14 /home/cnplqtma/domains/example.com/public_html/fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^72ad704ac9e73a1a21b18d69c0067e589b513421_0.file.default.tpl.php(27): Smarty_Internal_Template->_subTemplateRender() #15 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_resource_base.php(123): content_670fae868655e5_28818218() #16 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #17 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #18 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #19 /home/cnplqtma/domains/example.com/public_html/fp-includes/smarty-4.3.1/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute() #20 /home/cnplqtma/domains/example.com/public_html/login.php(115): Smarty_Internal_TemplateBase->display() #21 {main} thrown in /home/cnplqtma/domains/example.com/public_html/fp-includes/core/core.date.php on line 144 ## Some similar issues are discussed in these links ## https://laracasts.com/discuss/channels/laravel/datetime-construct-argument-1-datetime-must-be-of-type-string https://www.drupal.org/project/smart_date/issues/3298346