Hesk 3.4.3
PHP version 8.0.30 (MySQLi)
MySQL version 8.0.35
I just upgraded from php 7.x and now I'm getting an error in the email piping cron job per below.
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
php 8 and email piping error
Moderator: mkoch227
Re: php 8 and email piping error
Hesk never sets "MYSQL_OPT_RECONNECT"
I presume this happens only in CLI mode? Most likely, it is an underlying library issue; I would update all the server-side MySQL-related libraries.
I presume this happens only in CLI mode? Most likely, it is an underlying library issue; I would update all the server-side MySQL-related libraries.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: php 8 and email piping error
I'll check with the host. I'm not certain what you mean about CLI mode, this error is being generated by the cron job set in cPanel per the email piping instructions.
Re: php 8 and email piping error
Yes, that's the "CLI" (command line interface) mode of PHP.
I was searching around and most reports of this error were around the same use scenario. Some people reported success when updating MySQL libraries.
You can try adding this to the end of your cron job to see if it makes a difference:
I was searching around and most reports of this error were around the same use scenario. Some people reported success when updating MySQL libraries.
You can try adding this to the end of your cron job to see if it makes a difference:
Code: Select all
>/dev/null 2>&1
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: php 8 and email piping error
Yeah I already sent the log to dev/null. Was wondering if there was a way to suppress the error from occuring in the first please.