Plugin Support
Shawn
(@shawnogordo)
The lead developer of PowerPress has this to say in response to your post:
Thanks for bringing to our attention. We are aware of this and will be addressing in very near future releases.
The message you see is a notice message, letting developers know that “each” function has been depreciated, meaning in the future (PHP 8) it will no longer work. As for PHP 7.2, PowerPress is compatible and works fine. The “each” function will no longer be available in future major versions of PHP. The next major release of PHP is not announced yet, it may be a year or so before it is released do you have time before being concerned.
In a production environment you should not print deprecated notices (E_DEPRECATED), or any notices (E_NOTICE) and warnings (E_WARNING) for that matter. These messages are intended for development environments. My guess is that your administrator accidentally left PHP deprecated, notices and warnings “on” while he/she was setting up your server. If you are concerned about security, please turn off deprecated, notices and warnings in PHP. Such messages can disclose paths on your server to hackers, all they have to do is get a line of code that is wrong in one of your PHP files to see such info. More information how this is done here: http://php.net/manual/en/function.error-reporting.php
If you are concerned there are other problems in PowerPress other than the deprecated notices you see now, you can simply disable E_DEPRECATED while keeping notices and warnings enabled. Again, please see the link above for error reporting in PHP for details.
Hello @mhamal,
We have made changes in PowerPress for PHP 7.3+/PHP 8.0+ compatibility. If you are familiar with how to update plugins manually, please download the pre-release version to confirm the next release will work in your environment without the deprecated notice messages: https://downloads.wp.xz.cn/plugin/powerpress.zip
We will be releasing this update in the coming weeks.
Thanks,
Angelo