Solved: 4 Years, 6 Months ago Reply to user post
#1
Solved: 4 Years, 6 Months ago
At the Bottom of User Post there are button Edit, Delete, Reply, Quote..

When I click on reply it show HTTP ERROR 500...
What to do now?
Thank you.
Reply
#2
Solved: 4 Years, 6 Months ago
Check your apache / nginx / php log, you may have a server error.
Did you made change in newreply.php or added a plugin which modify the reply functionnality ?
Tchat en français
Do not ask me help through PM or Discord

Reply
#3
Solved: 4 Years, 6 Months ago
Ya...one plugin Lock content by Omar G.
Reply
#4
Solved: 4 Years, 6 Months ago
Try disabling it to ensure it's the faulty one.
And check your server logs to see which error (probably a syntax error) is in the plugin
Tchat en français
Do not ask me help through PM or Discord

Reply
#5
Solved: 4 Years, 6 Months ago
It is not due to Lock content by Omar G.
I have created 3 subdomains.
Mybb1806 with PHP 7.1
Mybb1822 with PHP 7.1
Mybb1822 with PHP 7.3

On all fresh copy, I make a thread and click on reply in the user post. (https://xxxxxxxx.com/mybb180671/newreply...&replyto=1)

On Mybb1806 with PHP 7.1 have above error. So it is due to Mybb1806 interaction with PHP 7.1 which I recently upgraded from PHP 5.6 to 7.1.

On Mybb1822 with PHP 7.1 & Mybb 1822 with PHP 7.3, It works fine.

So, if any have a solution to work reply on user post in Mybb1806 with PHP 7.1... I can not upgrade Mybb1806 with PHP 7.1 to latest Mybb1822 with PHP 7.1/7.3...

Hope you guys understand.
Thank you.
Reply
#6
Solved: 4 Years, 6 Months ago
We can help you... but give us precisions about the error. Look in your logfiles.
Tchat en français
Do not ask me help through PM or Discord

Reply
#7
Solved: 4 Years, 6 Months ago
this is error.

Stack trace:
#0 {main}
  thrown in /home1/xxxxxx/public_html/mybb180671/newreply.php on line 800
[03-Jun-2020 13:23:33 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /home1/xxxxxx/public_html/mybb180671/newreply.php:800
Stack trace:
#0 {main}
  thrown in /home1/xxxxxxx/public_html/mybb180671/newreply.php on line 800
[03-Jun-2020 13:25:08 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /home1/xxxxxxxx/public_html/mybb180671/newreply.php:800
Stack trace:
#0 {main}
  thrown in /home1/xxxxxx/public_html/mybb180671/newreply.php on line 800
Reply
#8
Solved: 4 Years, 6 Months ago
Ok, I think you can simply correct that by editing newreply.php @line 277:
Original
$reply_errors = $quoted_ids = '';

New
$reply_errors = '';
$quoted_ids = [];
Tchat en français
Do not ask me help through PM or Discord

Reply
#9
Solved: 4 Years, 6 Months ago
Thank you Crazycat...It work. Repped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)