Warnings-Notices-Er...
 
Notifications
Clear all

[Solved] Warnings-Notices-Errors in Osclass 3.9

5 Posts
2 Users
1 Reactions
126 Views
(@asaga)
Posts: 31
Trusted Member
Topic starter
 

Hello guys.

I see today my debug.log (7 days old) and there are several warnings, notices, errors in there.

I run Osclass 3.9 stock and PHP 7.3.x, with several plugins and i haven't noticed any issues. Also no one reported any issues.

Is that ok to ignore them? Are thy gonna be fixed ever?

Thank you

 
Posted : February 18, 2021 17:44
Topic Tags
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

Hi,

There are a few here-and-there but they do not seem to be of any harm.

Still can you post them here?

 
Posted : February 18, 2021 18:04
(@asaga)
Posts: 31
Trusted Member
Topic starter
 

Yes some of them are appearing for ages but 1-2 are new. And they seem to happen when i did some locations editing (delete/add):

[18-Feb-2021 10:16:17 Europe/London] PHP Warning: join(): Invalid arguments passed in /home/oc-admin/controller/settings/main.php on line 52

 
Posted : February 18, 2021 18:09
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

I see. I think you can ignore this, since i see it reported at Github and it has to do with some old auto updating.

This is what it was suggested:

Change line 52

$sAutoUpdate = join("|", Params::getParam('auto_update'));

to

$sAutoUpdate = implode('|', Params::getParam('auto_update'));

Not tested, use it at your own risk.

 
Posted : February 18, 2021 18:26
Asaga reacted
(@asaga)
Posts: 31
Trusted Member
Topic starter
 

Thank you SO MUCH. Appreciated.

 
Posted : February 18, 2021 19:48