Home › Forums › Ticket Products › Event Tickets Plus › Move the RSVP Form Problem
- This topic has 9 replies, 4 voices, and was last updated 10 years, 1 month ago by
Leah.
-
AuthorPosts
-
December 4, 2015 at 4:48 pm #1035825
Dan Feeley
ParticipantI was using this example to move the event template RSVP form:
It does move the form however with debugging on I see the following error:
Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in C:\Program Files (x86)\Ampps\www\wp-includes\functions.php on line 3622
December 7, 2015 at 6:11 am #1036845Josh
ParticipantHey Dan,
Thanks for reaching out to us!
Looking at the error, does the error only display after you’ve made the change from the previous thread? If you remove that snippet, does the error go away? I only ask because it doesn’t appear that the snippet would have any impact on the enqueueing of resources.
Thanks!
December 7, 2015 at 7:23 am #1036867Dan Feeley
ParticipantI agree, that’s the part that threw me as well but if I remove the snippet the error goes away.
To be sure I also tested it with WordPress Twenty Fifteen theme and only WooCommerce, Events Calendar, and Event Tickets enabled. If I add that snippet, I get the error (with debugging enabled).
December 9, 2015 at 5:36 am #1038054Josh
ParticipantHey Dan,
Thanks for following up here.
I’ve tried the code in my local install, however I’m not getting the same error that you’ve posted. Are you using any additional debugging plugins on your install?
Also, does the issue persist if you switch to a default theme and add the snippet there?
Thanks!
December 9, 2015 at 7:26 am #1038286Dan Feeley
ParticipantThis reply is private.
-
This reply was modified 10 years, 4 months ago by
Dan Feeley.
December 10, 2015 at 10:31 pm #1039336Josh
ParticipantHey Dan,
Thanks for following up. To verify, this is the snippet that you’re using on the site?
if (class_exists('Tribe__Tickets__RSVP')) { remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 ); add_action( 'tribe_events_single_event_before_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 ); }December 11, 2015 at 2:45 am #1039360Dan Feeley
ParticipantYes, that is correct.
December 15, 2015 at 7:33 am #1041681Josh
ParticipantHey Dan,
I reset all of my content and updated my TwentyFifteen theme and retested the snippet. I was able to recreate the issue that you’re describing. Reviewing the code I didn’t see anything on the surface the seemed out of place that would be causing this.
I’ve created an internal bug ticket to track this issue and you’ll be notified here as we make progress on this one.
Thanks!
February 18, 2016 at 8:33 am #1076228Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help.March 14, 2016 at 1:57 pm #1088741Leah
MemberHello,
Thank you for reporting this issue. We weren’t able to get a fix for it into our upcoming release (4.1). However, please know that the problem is still on our radar and is ticketed within our system to be addressed in a future maintenance release. We’ll do our best to keep you posted when we are able to get a solution in place. Thank you for your patience while we improve and expand our plugins.
Best,
Leah -
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
- The topic ‘Move the RSVP Form Problem’ is closed to new replies.
