I’m getting the error: Fatal error: Uncaught TypeError: Argument 1 passed to EE_Checkout::reg_step_sorting_callback() must be an instance of EE_SPCO_Reg_Step, instance of __PHP_Incomplete_Class given in /nas/content/live/bermanassoc/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/inc/EE_Checkout.class.php:568 Stack trace: #0 [internal function]: EE_Checkout->reg_step_sorting_callback(Object(__PHP_Incomplete_Class), Object(EE_SPCO_Reg_Step_Attendee_Information)) #1 /nas/content/live/bermanassoc/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/inc/EE_Checkout.class.php(527): uasort(Array, Array) #2 /nas/content/live/bermanassoc/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(779): EE_Checkout->sort_reg_steps() #3 /nas/content/live/bermanassoc/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(495): EED_Single_Page_Checkout->_load_and_instantiate_reg_steps() #4 /nas/content/live/bermana in /nas/content/live/bermanassoc/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/inc/EE_Checkout.class.php on line 568
Your last two replies are puzzling. Can you explain a bit more about what you mean by “removed the line with jQuery in the page editor”? Also, the PHP function that Tony shared with you should work if added to the site correctly. May I ask how was the code added?
I used jQuery to set display:none on the div that displays the “click here to add a new state/province.” But I also found a type on the header of my plugin file that prevented the plugin from working, so the PHP function does work, and I use that now. Thanks.
Viewing 5 reply threads
The support post ‘Remove "click here to add a new state/province"’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.