*

Vlad7

  • ****
  • 244 posts
Errors after the release of Osclass 8.0.0
« on: November 07, 2021, 01:12:24 PM »
Today I am using Osclass 4.4 and before the release of the new version of osclass 8.0.0 I had no problems on the site. Since the release of the new version of osclass, I got errors in the error_log file!


[05-Nov-2021 11:30:03 Europe/Kiev] PHP Fatal error:  Uncaught Error: Object of class stdClass could not be converted to string in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php:1037
Stack trace:
#0 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1037): implode(', ', Array)
#1 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1017): DBCommandClass->_replace('oc_t_preference', Array, Array)
#2 /home2/ukagroco/public_html/oc-includes/osclass/model/Preference.php(210): DBCommandClass->replace('oc_t_preference', Array)
#3 /home2/ukagroco/public_html/oc-includes/osclass/helpers/hPreference.php(1289): Preference->replace('update_core_jso...', Object(stdClass), 'osclass', 'STRING')
#4 /home2/ukagroco/public_html/oc-includes/osclass/utils.php(2528): osc_set_preference('update_core_jso...', Object(stdClass))
#5 /home2/ukagroco/public_html/oc-includes/osclass/cron.php(85): osc_do_auto_upgrade()
#6 /home2/ukagroco/public_html/index.php(76): require_once('/home2/ukagro in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php on line 1037
[06-Nov-2021 11:30:02 Europe/Kiev] PHP Fatal error:  Uncaught Error: Object of class stdClass could not be converted to string in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php:1037
Stack trace:
#0 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1037): implode(', ', Array)
#1 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1017): DBCommandClass->_replace('oc_t_preference', Array, Array)
#2 /home2/ukagroco/public_html/oc-includes/osclass/model/Preference.php(210): DBCommandClass->replace('oc_t_preference', Array)
#3 /home2/ukagroco/public_html/oc-includes/osclass/helpers/hPreference.php(1289): Preference->replace('update_core_jso...', Object(stdClass), 'osclass', 'STRING')
#4 /home2/ukagroco/public_html/oc-includes/osclass/utils.php(2528): osc_set_preference('update_core_jso...', Object(stdClass))
#5 /home2/ukagroco/public_html/oc-includes/osclass/cron.php(85): osc_do_auto_upgrade()
#6 /home2/ukagroco/public_html/index.php(76): require_once('/home2/ukagro in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php on line 1037
[07-Nov-2021 11:30:04 Europe/Kiev] PHP Fatal error:  Uncaught Error: Object of class stdClass could not be converted to string in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php:1037
Stack trace:
#0 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1037): implode(', ', Array)
#1 /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php(1017): DBCommandClass->_replace('oc_t_preference', Array, Array)
#2 /home2/ukagroco/public_html/oc-includes/osclass/model/Preference.php(210): DBCommandClass->replace('oc_t_preference', Array)
#3 /home2/ukagroco/public_html/oc-includes/osclass/helpers/hPreference.php(1289): Preference->replace('update_core_jso...', Object(stdClass), 'osclass', 'STRING')
#4 /home2/ukagroco/public_html/oc-includes/osclass/utils.php(2528): osc_set_preference('update_core_jso...', Object(stdClass))
#5 /home2/ukagroco/public_html/oc-includes/osclass/cron.php(85): osc_do_auto_upgrade()
#6 /home2/ukagroco/public_html/index.php(76): require_once('/home2/ukagro in /home2/ukagroco/public_html/oc-includes/osclass/classes/database/DBCommandClass.php on line 1037


is it related?

Marked as best answer by frosticek on November 08, 2021, 08:17:42 AM
*

MB Themes

Re: Errors after the release of Osclass 8.0.0
« Reply #1 on: November 08, 2021, 08:17:39 AM »
@Vlad7
Thank you, it is actually error from osclass 4.1 or so.
Will be fixed in 8.0.1
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Vlad7

  • ****
  • 244 posts
Re: Errors after the release of Osclass 8.0.0
« Reply #2 on: November 10, 2021, 11:37:52 AM »
@Vlad7
Thank you, it is actually error from osclass 4.1 or so.
Will be fixed in 8.0.1

I also found that mailing to users to subscribe to new ads stopped working because of this.

*

MB Themes

Re: Errors after the release of Osclass 8.0.0
« Reply #3 on: November 10, 2021, 11:51:43 AM »
@Vlad7
I do not see any relation.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots