javascript running and content not displaying

Home Forums Ticket Products Event Tickets Plus javascript running and content not displaying

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1145950
    Debra
    Participant

    Hi,

    I recently switched themes (to the “nevertheless” theme) and even though I’m trying to follow the theme guide and use a child theme to try and fix any issues, I see that no css is getting applied and no js ran to apply visuals/functinoality on the Events plugins I’m using:
    – Event Tickets
    – Event Tickets Plus
    – The Events Calendar

    As an example:
    https://www.worthyandsober.com/event/october-london-event/
    shows the following unformatted:
    « All Events October – London APP Intro October 14 @ 6:00 pm – October 16 @ 5:00 pm UTC+0 | $199 Event Navigation November – London APP Intro » + Google Calendar+ iCal Export Details Start: October 14 @ 6:00 pm End: October 16 @ 5:00 pm Cost: $199 Venue TBD Tickets 50 available …

    I can see that the tribe javascript is loading in the dev console, but it’s not formatting, and even though this even is enabled to support tickets, it’s not showing any of that anymore.

    Can someone knowledgeable take a quick look at this plugin and give me some guidance on what needs to be modified so these plugins work properly:

    Nevertheless

    #1146270
    Cliff
    Member

    Hi Debra. I installed that theme on my local testing site and there’s definitely a conflict loading The Events Calendar.

    I believe the reason is because that theme doesn’t add body classes. Please reference our What is a body class and why do I need one? KB article.

    Please know that we do not provide support for themes besides a WordPress default theme like TwentyFourteen, TwentyFifteen, TwentySixteen, etc, per our Scope of Support / Terms.

    #1148801
    Debra
    Participant

    Hi Cliff,

    I’m looking and can confirm that the body class is loading properly with this template. You can see on the example page I provided above:
    <body class=”single single-tribe_events postid-267 logged-in admin-bar custom-background wordpress ltr child-theme singular sidebar-primary-active menu-primary-active menu-social-links-inactive menu-footer-inactive wp-is-not-mobile custom-header-image custom-header-no-text custom-header-text-color tamatebako-super tribe-filter-live theme-genericons-active layout-content-sidebar1 custom-fonts-active tf-font_site_title-ws_arial tf-font_post_title-open-sans tf-font_widget_title-open-sans tf-font_base-open-sans events-single tribe-events-style-full tribe-events-style-theme tribe-theme-parent-nevertheless tribe-theme-child-worthyandsober page-template-page-php customize-support”>

    I’m happy to fix this theme myself, and understand you don’t support themes besides the default. Is there a way I can see debugging code somewhere that indicates why the plugin fails to load properly? I’d like to fix it myself, but it’s clearer something other than the body class.

    Thanks!

    #1148851
    Debra
    Participant

    An addendum for what it’s worth… that plugin uses the Tamatebako wordpress framework:
    https://github.com/turtlepod/nokonoko/tree/master/library

    I suspect the issue may be part of the framework itself. I’ve tried manually editing the css classes for body as well as the html tag attributes, but none seem to fix the issue. If you can point me in any direction, it would be greatly appreciated!

    • This reply was modified 9 years, 9 months ago by Debra.
    #1149231
    Cliff
    Member

    Debra, I visited that link and do see body classes loading there but no content.

    Unfortunately, as I stated previously, it looks like we’re coming up against our support policy limitations on this issue…

    If your theme or framework author/support has any suggestions or needs clarification on something, please let them know that they can install the free The Events Calendar plugin to test things out.

    #1149250
    Debra
    Participant

    Hi Cliff,

    I understand the support limitation, so I’m going to try to ask for support outside of this theme itself and focus on the Events Calendar module itself and debugging it.

    I’m trying to debug this on my own using the Event Calendar debug option which is supposed to expose a section in the debug bar. However, when checking that box and enabling debug mode in wp_config, I do not see any new items in the debug bar. I’m doing this on admin pages (independent of the theme), so this should not be affected by the theme / should still fall under support.

    Is this a known issue or is there something else that needs to be done to allow the debug statements to show up in the debug bar?

    As you can see I don’t have an option other than to fix this myself, so any help / pointers in the right direction given the time/energy/money I’ve invested is greatly appreciated…

    Thanks

    #1149627
    Cliff
    Member

    Our plugin’s debug mode is explained here and in the actual plugin’s settings at wp-admin > Events > Settings > General tab > Miscellaneous section

    If checked, it uses PHP’s error_log() so you might want to ask your host or server admin if you’re not seeing any error_log() information.

    As far as debugging our plugin, I’d suggest following our recommended troubleshooting steps:

    Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?

    Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.

    If it is, please follow our Testing for Conflicts Guide (basically switch to TwentySixteen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.

    If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG and share any PHP errors you see while changing tickets quantity, navigating your site’s home page, events page, single-event pages, and any other of your site’s pages relevant to this ticket.

    Then, please share your System Information (while in Testing for Conflicts mode).

    You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)

    Let us know what you find out.

    Thanks.

    #1151402
    Debra
    Participant

    Cliff, just to follow up so you can help others in the future, I got help from the theme developer and the solution was straight-forward enough that I hope you can add this recommendation to other people as the first suggestion if they hit issues with their theme.

    Specifically, the details are in this thread:
    https://wordpress.org/support/topic/some-plugins-not-supported?replies=2#post-8752087

    #1151893
    Cliff
    Member

    Excellent. Thanks for sharing your solution for this issue.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘javascript running and content not displaying’ is closed to new replies.