MyBB Community Forums

Full Version: 500 error when quoting a post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Detailed description of your problem, including steps to reproduce if necessary

When a user uses the reply with quote, or uses the quote button and then new reply, user gets a 500 error. Posting a new reply without a quote works normally. 


URL to your forum/URL to specific problematic page

https://steelcitydualsport.com/

New installation or upgrade (from which version of MyBB)?

1.8.8

Test user account (if it requires additional permissions)
 


Screenshot or error text, verbatim


[Image: 3a40f76b7ade44ef9c2a5c658f75901b.png]

[Image: a72ee76bd032118cf053f654f530bc35.png]
You'll need to check your server error log for details on what has caused the 500 error. Is a strange thing to be erroring though.

Also please update your forum, 1.8.8 was released 5 and a half years ago.
No errors being generated on the server. Server tech support sent me here :/.
There will be somewhere unless the server is incorrectly configured. We can't tell what's causing a 500 error, it's a very generic error which could be caused by hundreds of things.
I'm also getting "MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance." errors all over the site. You must have an error log file somewhere. Is there an error.log file in your web root folder?
What PHP version are you running? You can find this on the ACP homepage.
(2022-02-06, 04:48 PM)Matt Wrote: [ -> ]What PHP version are you running? You can find this on the ACP homepage.

7.2.34

(2022-02-06, 04:45 PM)Matt Wrote: [ -> ]I'm also getting "MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance." errors all over the site. You must have an error log file somewhere. Is there an error.log file in your web root folder?

error.log is showing the following:


<error>
<dateline>1644165170</dateline>
<script>inc/functions.php</script>
<line>499</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>A non-numeric value encountered</message>
</error>

<error>
<dateline>1644165170</dateline>
<script>inc/functions.php</script>
<line>394</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>A non-numeric value encountered</message>
</error>

<error>
<dateline>1644165170</dateline>
<script>inc/functions.php</script>
<line>396</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>A non-numeric value encountered</message>
</error>

<error>
<dateline>1644165170</dateline>
<script>inc/functions.php</script>
<line>474</line>
<type>2</type>
<friendly_type>Warning</friendly_type>
<message>A non-numeric value encountered</message>
</error>
Okay, so the problem is that PHP 7.2 didn't even exist when MyBB 1.8.8 was released. You'll need to upgrade your forum. You're over 5 years behind on security fixes, let alone bug fixes and PHP support.