Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: pipetko on April 15, 2021, 10:19:04 AM

Title: After moving to another host errors occur after registration and ad post
Post by: pipetko on April 15, 2021, 10:19:04 AM
I have moved a client website with 3.8 ( from github rep ) from one to another hosting.
Now after user posts an ad:

Warning: current() expects parameter 1 to be array, null given in /home/f5bgtope/public_html/oc-includes/osclass/emails.php on line 855

Warning: Cannot modify header information - headers already sent by (output started at /home/f5bgtope/public_html/oc-includes/osclass/utils.php:1744) in /home/f5bgtope/public_html/oc-includes/osclass/utils.php on line 1749

and after register user as well:
Warning: current() expects parameter 1 to be array, null given in /home/f5bgtope/public_html/oc-includes/osclass/emails.php on line 1052

Warning: Cannot modify header information - headers already sent by (output started at /home/f5bgtope/public_html/oc-includes/osclass/utils.php:1744) in /home/f5bgtope/public_html/oc-includes/osclass/utils.php on line 1749

But in the same time the ad is posted with no problems, also new user is registered succesefully.
Title: Re: After moving to another host errors occur after registration and ad post
Post by: MB Themes on April 15, 2021, 03:36:26 PM
@pipetko
Errors may show up based on PHP version, but I do not think anyone will be fixing problems of 3.8 version.
Title: Re: After moving to another host errors occur after registration and ad post
Post by: pipetko on April 15, 2021, 10:37:28 PM
I was thinking the same, But after updating to your version problem was there as well. I will make another try after few days.
Title: Re: After moving to another host errors occur after registration and ad post
Post by: MB Themes on April 15, 2021, 10:40:18 PM
Problem in emails.php represents probably missing email template, those in utils.php is very hard to identify.
Title: Re: After moving to another host errors occur after registration and ad post
Post by: pipetko on August 22, 2021, 10:19:09 PM
Problem was emails.php and some corrupted files because of ssd cloud thingy ... :)
Title: Re: After moving to another host errors occur after registration and ad post
Post by: MB Themes on August 23, 2021, 07:29:15 AM
@pipetko
Thanks for your feedback ;)