agileware / wp-civicrm-ux

WordPress CiviCRM UX - User Experience enhancements
GNU General Public License v2.0
7 stars 12 forks source link

Notice in debug mode #9

Closed jbonlinea closed 3 years ago

jbonlinea commented 3 years ago

Hi,

it's probable very minor but it happens that I get this notice in debug mode, on evey front page, even if no civicrm-ux shortcode are found there.

regards

Notice: Undefined index: civicrm_contribution_ux in /wp-content/plugins/wp-civicrm-ux/includes/class-civicrm-ux-option-store.php on line 41

Notice: Trying to access array offset on value of type null in /wp-content/plugins/wp-civicrm-ux/includes/class-civicrm-ux-option-store.php on line 41

Notice: Trying to access array offset on value of type null in /wp-content/plugins/wp-civicrm-ux/public/class-civicrm-ux-public.php on line 105

Notice: Trying to access array offset on value of type null in /wp-content/plugins/wp-civicrm-ux/public/class-civicrm-ux-public.php on line 106
agileware-justin commented 3 years ago

Thanks for reporting, I don't think we've seen this problem yet on sites where the plugin is being used.

Have you tried updating to the latest release?

jbonlinea commented 3 years ago

hi, well no because #12 so I'm still using wp-civicrm-ux 1.1.2

agileware-justin commented 3 years ago

That should be fixed in the latest commit and in 1.8.2

jbonlinea commented 3 years ago

:+1: great thank's