MyBB Community Forums

Full Version: Error 500 while opening posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Whenever I try to click any post in my forum its giving a error 500.
I can access the forum list and threadlist and everything but can't see the posts. AdminCP and other things are also working fine.

I have disabled all the plugins, still the issue is persisting. Anyone knows how do I fix this?

there is the error log from:

[14-Sep-2023 06:23:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Access denied for user 'xiraane_mybb660'@'localhost' (using password: YES) in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php:235
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php(235): mysqli_connect('localhost', 'xiraane_mybb660', Object(SensitiveParameterValue))
#1 /home1/webniomy/forum.xiraa.network/inc/init.php(172): DB_MySQLi->connect(Array)
#2 /home1/webniomy/forum.xiraa.network/global.php(20): require_once('/home1/webniomy...')
#3 /home1/webniomy/forum.xiraa.network/index.php(18): require_once('/home1/webniomy...')
#4 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php on line 235
[14-Sep-2023 06:23:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Access denied for user 'xiraane_mybb660'@'localhost' (using password: YES) in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php:235
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php(235): mysqli_connect('localhost', 'xiraane_mybb660', Object(SensitiveParameterValue))
#1 /home1/webniomy/forum.xiraa.network/inc/init.php(172): DB_MySQLi->connect(Array)
#2 /home1/webniomy/forum.xiraa.network/global.php(20): require_once('/home1/webniomy...')
#3 /home1/webniomy/forum.xiraa.network/index.php(18): require_once('/home1/webniomy...')
#4 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php on line 235
[14-Sep-2023 06:25:21 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:25:21 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:26:59 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:26:59 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:29:27 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:29:27 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:29:30 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:29:30 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:33:39 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:33:39 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:34:34 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:34:34 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:34:37 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/functions_post.php(897): pluginSystem->run_hooks(Array, Array)
#1 /home1/webniomy/forum.xiraa.network/showthread.php(1121): build_postbit(Array)
#2 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php on line 136
[14-Sep-2023 06:35:16 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:35:16 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:45:33 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:45:33 UTC] PHP Warning:  Trying to access array offset on value of type null in /home1/webniomy/forum.xiraa.network/inc/functions_task.php on line 115
[14-Sep-2023 06:54:24 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/functions_post.php(897): pluginSystem->run_hooks(Array, Array)
#1 /home1/webniomy/forum.xiraa.network/showthread.php(1121): build_postbit(Array)
#2 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php on line 136
[14-Sep-2023 06:54:29 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/functions_post.php(897): pluginSystem->run_hooks(Array, Array)
#1 /home1/webniomy/forum.xiraa.network/showthread.php(1121): build_postbit(Array)
#2 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php on line 136
[14-Sep-2023 06:55:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home1/webniomy/forum.xiraa.network/inc/plugins/google_seo/redirect.php:291
Stack trace:
#0 /home1/webniomy/forum.xiraa.network/inc/class_plugins.php(142): google_seo_redirect_hook('')
#1 /home1/webniomy/forum.xiraa.network/global.php(100): pluginSystem->run_hooks(Array)
#2 /home1/webniomy/forum.xiraa.network/showthread.php(28): require_once('/home1/webniomy...')
#3 {main}
  thrown in /home1/webniomy/forum.xiraa.network/inc/plugins/google_seo/redirect.php on line 291
very strange if the error only occurs with the posts
Have you checked whether the database table might be corrupted?

did you change something before the error occured?
I can't reach your forum at all.  Assuming it's located in a sub-domain of your signature site:

https://xiraa.com/

Forum link (from that page):

https://forum.xiraa.com/

Which leaves me to suspect a cookie problem. Sad
@nixer55 this board is completely down, with cookie problems the board is reachable, but you can't login

I checked the log postet above, just seen there are a lot more lines

some warnings we can ignore, but some fatal errors to have a look on
I've shortened it to the essentials

[14-Sep-2023 06:23:15 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Access denied for user 'xiraane_mybb660'@'localhost' (using password: YES) in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php:235
[14-Sep-2023 06:23:17 UTC] PHP Fatal error:  Uncaught mysqli_sql_exception: Access denied for user 'xiraane_mybb660'@'localhost' (using password: YES) in /home1/webniomy/forum.xiraa.network/inc/db_mysqli.php:235
[14-Sep-2023 06:34:37 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
[14-Sep-2023 06:54:24 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
[14-Sep-2023 06:54:29 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method hmr::postbitcover() cannot be called statically in /home1/webniomy/forum.xiraa.network/inc/class_plugins.php:136
[14-Sep-2023 06:55:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home1/webniomy/forum.xiraa.network/inc/plugins/google_seo/redirect.php:291  
Yes, and I can't find any DNS records for forum.xiraa.com.  But there's something at forum.xiraa.network.  Has a DNS A record but doesn't load.  Over my head - lol.
The error message suggests the url is forum.xiraa.network
Which results in a spinning quarter-circle.
May be a domain problem not completely implemented.

xiraa.com indicates a forum is supposed to be at forum.xiraa.com, so if it was set up previously on a test bed before moving it over for live production, then the database needs to have some entries changed.

However, forum.xiraa.com goes nowhere, so it's a DNS problem.

xiraa.network is registered at godaddy, with nameservers at hostgator, IP lookup points to 162.241.148.243
xiraa.com is registered at PDR dba PublicDomainRegistry, with nameservers also at hostgator, same IP address.