I checked the code at line 764:
if (is_array($field) and (isset($field['auto']) or (! in_array('product', $post['cpt']) || !\class_exists('WooCommerce')))) {
For the time being I’ve edited it to:
if (is_array($field) and (isset($field['auto']) or (! (isset($post['cpt']) && is_array($post['cpt']) && in_array('product', $post['cpt'])) || !\class_exists('WooCommerce')))) {
With the additional check if $post[‘cpt’] exists and is an array, the export works in PHP 8
WP All Export
Version 1.3.2
Hey @arno-kools,
With the additional check if $post[‘cpt’] exists and is an array, the export works in PHP 8
Thank you for the report and the proposed fix. I’ve reported this to our developer and I’ll follow up here once I know more.
Hi @arno-kools,
We plan to have a fix for this in the next release of the plugin. Thanks again for the report.