2021-05-01, 10:19 PM
I just installed a new theme on my forum (https://chhsforum.cf) everytime I visit a specific page it gives one error at the top saying "MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance." My other theme never did this. One of the threads with the error is https://chhsforum.cf/showthread.php?tid=62 but it is most if not all threads
I check the error log and this is what it said.
If you require any additional info please let me know
It's running MyBB 1.8.26, PHP 7.3 have also tried PHP 7.4 and MySQLi 8.0.24
I check the error log and this is what it said.
If you require any additional info please let me know
It's running MyBB 1.8.26, PHP 7.3 have also tried PHP 7.4 and MySQLi 8.0.24
Quote:<error>
<dateline>1619905761</dateline>
<script>showthread.php(1600) : eval()'d code</script>
<line>50</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP)</message>
<back_trace>#0 errorHandler->error() called at [/showthread.php(1600) : eval()'d code:50]
#1 eval() called at [/showthread.php:1600]
</back_trace>
</error>
<error>
<dateline>1619905864</dateline>
<script>showthread.php(1600) : eval()'d code</script>
<line>50</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP)</message>
<back_trace>#0 errorHandler->error() called at [/showthread.php(1600) : eval()'d code:50]
#1 eval() called at [/showthread.php:1600]
</back_trace>
</error>
<error>
<dateline>1619906226</dateline>
<script>showthread.php(1600) : eval()'d code</script>
<line>50</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP)</message>
<back_trace>#0 errorHandler->error() called at [/showthread.php(1600) : eval()'d code:50]
#1 eval() called at [/showthread.php:1600]
</back_trace>
</error>
<error>
<dateline>1619906338</dateline>
<script>showthread.php(1600) : eval()'d code</script>
<line>50</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP)</message>
<back_trace>#0 errorHandler->error() called at [/showthread.php(1600) : eval()'d code:50]
#1 eval() called at [/showthread.php:1600]
</back_trace>
</error>
<error>
<dateline>1619906391</dateline>
<script>showthread.php(1600) : eval()'d code</script>
<line>50</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>Use of undefined constant username - assumed 'username' (this will throw an Error in a future version of PHP)</message>
<back_trace>#0 errorHandler->error() called at [/showthread.php(1600) : eval()'d code:50]
#1 eval() called at [/showthread.php:1600]
</back_trace>
</error>