Advertisement:

Author Topic: Boot-SNAP theme is giving error after upgrading osclass to 3.5.9 when editing  (Read 1257 times)

bengalliboy

  • Full Member
  • ***
  • Posts: 204
When editing or updating user's profile address, the following error happening:

Warning: Missing argument 1 for keep_user_values() in /home/<>/html/bazaar/oc-content/themes/bootsnap_classic/includes/functions/functions.inc.php on line 36
Warning: Missing argument 3 for User::updateDescription(), called in /home/<>/html/bazaar/oc-content/themes/bootsnap_classic/includes/functions/functions.inc.php on line 42 and defined in /home/<>/html/bazaar/oc-includes/osclass/model/User.php on line 358
Warning: Cannot modify header information - headers already sent by (output started at /home/<>/html/bazaar/oc-includes/osclass/utils.php:1740) in /home/<>/html/bazaar/oc-includes/osclass/utils.php on line 1745

I am using Bootsnap latest theme 2.8 and osclass latest upgrade 3.5.9
Any help is appreciated.
Thanks

Eryq78

  • Newbie
  • *
  • Posts: 16
The best is to contact Peter (of bootsnap_classic), he has got a new functions.php which solves your problem

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Thanks but I have contacted him via email, ticket , skype and even called him but not got any response.

Can you please send me that function.php if you have that?

Thanks

Eryq78

  • Newbie
  • *
  • Posts: 16
Sorry for my late response..

Remove following lines in functions.inc.php

Code: [Select]
if(!function_exists('keep_user_values')) {
      function keep_user_values($user) {
          $userID = $user['pk_i_id'];
 
          $info = Params::getParam('s_info', false, false) ;
 
          $mUsers = User::newInstance() ;
          $mUsers->updateDescription($userID, $info) ;
      }
  }

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Ok will try that, thank you
One more question, after I have the theme since it came out and bought there are 2 releases came 2.6 and 2.8. If I were to upgrade it, should I go and get the 2.8 on top of it or do I need to first get 2.6 and then 2.8
The Customer service is horrible with this guy. Having sending email after email then probably will get a response once is a while. Really bad in response.
Thanks again

Eryq78

  • Newbie
  • *
  • Posts: 16
If i were you, i would backup the old theme and remove it then of the server and then install the latest. You have to adjust all your custom settings again.

I know you contact Peter through his website the best.
If he responds, his support is still better then many other plugin or theme developers.


bengalliboy

  • Full Member
  • ***
  • Posts: 204
Thank you so much for the advise, I will try that.
Would you be kind enough to send me the latest function.php that works with this theme?
My email is bengalliboy@yahoo.com
I will just keep this as my reference. Thanks

Eryq78

  • Newbie
  • *
  • Posts: 16
Which one do you want, the functions.php or the file described above (functions.inc.php)?

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Now that you mentioned, not sure. Can you please send me both so I can compare with mine?
Many thanks again!

Eryq78

  • Newbie
  • *
  • Posts: 16
Sent