MyBB Community Forums

Full Version: trying upgrade 1.8.26 to latest and admin login issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
i am trying to upgrade my forum current version 1.8.26 to 1.8.34 
Getting error http://oraerp.com/install/upgrade.php like this 

when trying to login as admin to start the upgrade, it is keep coming back to login screen with the above errors and not logging in.

please help, my forum is down now. 
thanks in advance.
maybe this thread will help you --> https://community.mybb.com/thread-238334.html

php 5.6 is very very old
thank you for sharing the above, PHP 8.1
now getting this error
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.1.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/url.php 100 errorHandler->error_callback
/inc/plugins/google_seo.php 311 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/admin/index.php 18 require_once
Warning [2] Undefined variable $location - Line: 1249 - File: inc/plugins/google_seo/url.php PHP 8.1.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/url.php 1249 errorHandler->error_callback
/inc/plugins/google_seo/url.php 173 google_seo_url_hook
/inc/plugins/google_seo.php 311 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/admin/index.php 18 require_once
Warning [2] Undefined array key "module" - Line: 40 - File: inc/plugins/newpoints.php PHP 8.1.19 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/newpoints.php 40 errorHandler->error_callback
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/admin/index.php 18 require_once
try this fork from Google Seo by SvePu

https://github.com/SvePu/MyBB-Google-SEO

for newpoints-plugin I don't know a solution, I don't use it, but I'm sure you can find solutions in this board
A lot of plugins have been updated in the last months

PHP8 is very strict and issues warnings where previously only notice was given

but you can also disable the display of warnings in the ACP
Time being, i followed this https://community.mybb.com/thread-216936...pid1301704 and disabled all the plugins,
forum is back online now.

Now how I can fix this plugin issues, as If i am enabling it in the settings.php, the forum again is not accessible.
it is only accessible if i keep disabling the plugins
is there an error message in the server-logs?

I think you used the switch that disables all plugins
manually switch them all to disabled in the ACP and then turn them back on one by one to see which ones are having problems

As I said solutions have already been found for many plugins and can be found here on the board.
PHP8 makes a lot of work, is unfortunately so!