In PHP, the cookie is not actually set until the page reloads. You're creating the cookie then immediately trying to get a value from $_COOKIE, but that value doesn't exist yet in $_COOKIEtubeman wrote: ↑Thu Dec 20, 2018 9:52 am Hi,
I'm still seeing these in php logs, it dosen't happen every minute but happens alot throughout the day:
[19-Dec-2018 02:50:45 America/New_York] PHP Warning: (null)(): 38685 is not a valid cURL handle resource in Unknown on line 0
[19-Dec-2018 03:01:06 America/New_York] PHP Notice: ascensori Alessandria Tortona index: HTTP_HOST in /home/httpd/html/domain.com/public_html/scj/includes/libs/Cookie.class.php on line 10
In SSH I did the test to see if HTTP_HOST variable gets passed,and it passed. Its happening only for Cookie.class.php. Sites are working fine, don't see any errors on sites.Any idea what could be causing this?
Regards,
try to fix this