The following error was showing in the log when displaying the pricing modal on the settings page:
PHP Warning: Undefined property: stdClass::$Packs in /imagify-plugin/inc/classes/class-imagify-admin-ajax-post.php on line 1182
It was happening because the Packs were removed from the API data returned by the pricing/all endpoint. This PR prevents the error by removing the usage of the packs data in the plugin.
The following error was showing in the log when displaying the pricing modal on the settings page:
PHP Warning: Undefined property: stdClass::$Packs in /imagify-plugin/inc/classes/class-imagify-admin-ajax-post.php on line 1182
It was happening because the Packs were removed from the API data returned by the
pricing/all
endpoint. This PR prevents the error by removing the usage of the packs data in the plugin.