Error in Add product on Vendor Dashboard
-
When a vendor logs in and clicks “Add product” they are given a blank screen, if i turn on debug mode, following errors are recorded …
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/edd-fes/classes/fields/checkbox.php:123 Stack trace: #0 /wp-content/plugins/edd-fes/classes/fields/checkbox.php(123): in_array('Yes', '') #1 /wp-content/plugins/edd-fes/classes/abstracts/class-form.php(273): FES_Checkbox_Field->render_field_frontend(6914, false) #2 /wp-content/plugins/edd-fes/classes/frontend/class-forms.php(357): FES_Form->render_form_frontend(6914, false) #3 /wp-content/themes/mayosis/fes_templates/frontend-new-product.php(3): FES_Forms->render_submission_form() #4 /wp-includes/template.php(772): require('/home/drhackne/...') #5 /wp-content/plugins/edd-fes/classes/frontend/class-templates.php(161): load_template('/home/root/...', false) #6 /wp-content/plugins/edd-fes/classes/frontend/class-templates.php(112): FES_Templates->fes_locate_template(Array, true, false) #7 /wp-content/plugins/edd-fes/classes/frontend/class-dashboard.php(187): FES_Templates->fes_get_template_part('frontend', 'new-product') #8 /wp-includes/shortcodes.php(356): FES_Dashboard->display_fes_dashboard('', '', 'fes_vendor_dash...') #9 [internal function]: do_shortcode_tag(Array) #10 /wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(fes_ve...', 'do_shortcode_ta...', '[fes_vendor_das...') #11 /wp-includes/class-wp-hook.php(307): do_shortcode('[fes_vendor_das...') #12 /wp-includes/plugin.php(191): WP_Hook->apply_filters('[fes_vendor_das...', Array) #13 /wp-includes/post-template.php(253): apply_filters('the_content', '[fes_vendor_das...') #14 /wp-content/themes/mayosis/page.php(107): the_content() #15 /wp-includes/template-loader.php(106): include('/home/drhackne/...') #16 /wp-blog-header.php(19): require_once('/home/root/...') #17 /index.php(17): require('/home/root/...') #18 {main} thrown in /wp-content/plugins/edd-fes/classes/fields/checkbox.php on line 123
It’s an old store where i am only updating plugins as updates are rolled out. Any guidance as to where to look for will be appreciated.
Thanks
- The topic ‘Error in Add product on Vendor Dashboard’ is closed to new replies.