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?