Support Forum

errors during update- Upgrade Aborted 6689

MA madmacman
madmacman
Member

Hi there,

just during update 4.5 to 5.and the the aborted msg:

Upgrade Aborted

6689

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

6702

success

 

Can someone please help and advise how to get upgrade working?

cheers

Alex

12 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Oh dear. We had a small – very small – number of users who have experienced problems updating the sp permissions data and this is what is happening here. We have spent hours trying to work out the issue but as I say – it is rare and even when we have had a users database to test with we have been unable to replicate the issue once we try it here.

I am really sorry this is happening to you – the first case in about 7 weeks or so.

There are really two main ways to go.

If your forum permission sets are heavily customised and changed then I would recommend you restore your DB from backup and start the process again. We would be willing to look at your data to see if we can spot the issue but – as I say – we have been here before with no success.

On the other hand if the forum permission data is more or less set to the defaults then I would restart the upgrade to determine if it progresses further and we can repair the permissions afterwards.

MA madmacman
madmacman
Member

Hi and thanks for your reply, can we make an fresh forum install? I deleted the SP folder in plugin folder is there another folder i have to delete to make a new install?

No worry about users and forums as we would like is going again and if the only option is to start from scratch then that’s the way we go. If you could please advise how to go about a fresh install that be fab.

 

cheers

Alex

MP Mr Papa
Mr Papa
Member

depends on where you left off in the upgrade…  I would start by putting the simple-press folder and contents (ie the plugin) back into the plugins directory…

then, can you get to the rest of the sp admin?  or just upgrade?  if the latter, try clicking on the upgrade a few times and see if you can get it to complete…  dont worry about the state of the install since you want to reinstall…

once you can get to the admin, go to forum – toolbox – uninstall and click on the uninstall checkbox and save the panel…

then go to the wp plugin page and deactivate simple press…  This will remove ALL your SP data so be sure its what you want to do…  after deactivating, then reactivate Simple Press and you should end up with a fresh install…

If you cannot get to the sp admin after trying to get through the upgrade, come on back and I will walk you manually through the uninstall…

MA madmacman
madmacman
Member

thanks for the swift reply,cannot get to Admin only to upgrade and tried the update for numerous (20x +) times but always comes up with the msg below:

6624 – success

6637 – success

6650 – success

6663 – success

6689 – success

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/madmacm1/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/public_html/wp-content/plugins/simple-press/admin/library/spa-support.php on line 454

6702 – success

 

if you could walk me through that be great and very much appreciated

Cheers

Alex

MP Mr Papa
Mr Papa
Member

okay… leave the plugin in the plugins folder…  deactivate the simple-press plugin…

go into your database using phpmyadmin or other db tool…  delete all tables that are of form wp_sfxxxxx

you db prefix might be other than wp_…  and the xxxx refers to an sp table, like sfforum, sfgroups, etc…

that should be all you need to do if coming from 4.5…  so activate the simple press plugin…  you should be prompted to install…  if it still says upgrade dont do anything and come on back…

MA madmacman
madmacman
Member

awesome , all working laugh I’ve attached the tables we dropped  and worked like a charm.

`wp_sfauths` ,
`wp_sfdefpermissions` ,
`wp_sferrorlog` ,
`wp_sfforums` ,
`wp_sfgroups` ,
`wp_sflinks` ,
`wp_sflog` ,
`wp_sfmembers` ,
`wp_sfmemberships` ,
`wp_sfmessages` ,
`wp_sfmeta` ,
`wp_sfnotices` ,
`wp_sfoptions` ,
`wp_sfpermissions` ,
`wp_sfpostratings` ,
`wp_sfposts` ,
`wp_sfroles` ,
`wp_sftagmeta` ,
`wp_sftags` ,
`wp_sftopics` ,
`wp_sftrack` ,
`wp_sfusergroups` ,
`wp_sfwaiting` ;
 
Thanks very much for your help , great support and Forum
 
cheers
Alex
 
 
MP Mr Papa
Mr Papa
Member

good news!  np, glad to help… let us know if you need anything else…

depending on your timing, you might already need upgrade to 5.1 – was released couple hours ago… wink

but you can upgrade from with the wp admin -updates now…

MA madmacman
madmacman
Member

just updated to 5.1 and update was great but have 2 forums on the forum page ? What did i do wrong or perhaps just have one tick somewhere to many.

thanks for your support

MP Mr Papa
Mr Papa
Member

probably not related to 5.1… but 5.0 in general…

go to forum – integration – page and permalink in the admin…  Try different combinations of the three integration options… display multiple, in loop, and use wp api…

MA madmacman
madmacman
Member

Limit forum display to within WP loop by itself did the trick laugh

once again the best support we had, great stuff and thanks again

EK Edward Koon
Edward Koon
Member

I updated 2 of 3 sites running simple-press without any problems.

The 3rd is getting a serious workout, want to wait until nobody is online before upgrading it.

I updated SP first, ran the DB update, then upgraded the plugins. Never did that many plug-in upgrades in a row before.

Good Job, Steve and Andy.. wink