Hi, we use a plugin called Coupon Creator Pro on this website:
https://yourneighbormagazine.com/
The plugin is experiencing a conflict with the theme. I almost never get conflict with your theme, so I didnt think to check it at first.
I any case, see the screenshot… we get a “critical error” notice on the “All Coupons” page. We SHOULD see a list of existing coupons. If i switch temporarily to the default 25 WP theme, the list of coupons shows… So the issue is with PRO. I did see this in the error log, not sure if it is helpful:
[06-Apr-2025 14:37:31 UTC] PHP Deprecated: Creation of dynamic property Cctor__Coupon__Main::$registered is deprecated in /home/XXXXXXXXXXXXX/public_html/wp-content/plugins/coupon-creator/src/Cctor/Main.php on line 281
I ALSO received this error from WHM:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.2
Active theme: Pro – Child Theme (version 1.0.0)
Current plugin: (version )
PHP version 8.2.28
Error Details
An error of type E_ERROR was caused in line 75 of the file /home/ynmcdgadmin/public_html/wp-content/themes/pro-child/functions.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /home/xxxxxxxxxx/public_html/wp-content/themes/pro-child/functions.php:75
Stack trace:
#0 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(326): your_prefix_posts_taxonomy_filter(‘cctor_coupon’)
#1 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/xxxxxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/xxxxxxxxxx/public_html/wp-admin/includes/class-wp-posts-list-table.php(594): do_action(‘restrict_manage…’, ‘cctor_coupon’, ‘top’)
#4 /home/xxxxxxxxxx/public_html/wp-admin/includes/class-wp-list-table.php(1687): WP_Posts_List_Table->extra_tablenav(‘top’)
#5 /home/xxxxxxxxxx/public_html/wp-admin/includes/class-wp-list-table.php(1620): WP_List_Table->display_tablenav(‘top’)
#6 /home/xxxxxxxxxx/public_html/wp-admin/edit.php(503): WP_List_Table->display()
#7 {main}
thrown