2024-02-14, 01:15 PM
Just trying to move my site over to a new host.
The database and files have copied over OK. I've changed the database settings in the config. It looks as if things are trying to happen as I'm getting an warning message at the top of the screen.
"Trying to access array offset on null - Line: 586 - File: inc/class_parser.php" at the top of the page. It seems the rest of the site is working OK as I can see it at the bottom of the page.
Any ideas what could be causing this warning message?
Your assistance would be appreciated.
thank you.
PHP 8.3.2 (Linux)
MyBB 1.8.27
Here is the detail of the error:
<error>
<dateline>1707915566</dateline>
<script>inc/class_parser.php</script>
<line>586</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Trying to access array offset on null</message>
<back_trace>#0 errorHandler->error() called at [/inc/class_parser.php:586]
#1 postParser->cache_smilies() called at [/inc/class_parser.php:620]
#2 postParser->parse_smilies() called at [/inc/class_parser.php:222]
#3 postParser->parse_message() called at [/inc/plugins/bam.php:329]
#4 bam_announcements() called at [/inc/class_plugins.php:142]
#5 pluginSystem->run_hooks() called at [/global.php:100]
#6 require_once() called at [/index.php:18]
</back_trace>
</error>
The database and files have copied over OK. I've changed the database settings in the config. It looks as if things are trying to happen as I'm getting an warning message at the top of the screen.
"Trying to access array offset on null - Line: 586 - File: inc/class_parser.php" at the top of the page. It seems the rest of the site is working OK as I can see it at the bottom of the page.
Any ideas what could be causing this warning message?
Your assistance would be appreciated.
thank you.
PHP 8.3.2 (Linux)
MyBB 1.8.27
Here is the detail of the error:
<error>
<dateline>1707915566</dateline>
<script>inc/class_parser.php</script>
<line>586</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Trying to access array offset on null</message>
<back_trace>#0 errorHandler->error() called at [/inc/class_parser.php:586]
#1 postParser->cache_smilies() called at [/inc/class_parser.php:620]
#2 postParser->parse_smilies() called at [/inc/class_parser.php:222]
#3 postParser->parse_message() called at [/inc/plugins/bam.php:329]
#4 bam_announcements() called at [/inc/class_plugins.php:142]
#5 pluginSystem->run_hooks() called at [/global.php:100]
#6 require_once() called at [/index.php:18]
</back_trace>
</error>