WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] error message (15 posts)

  1. Tina
    Member
    Posted 2 years ago #

    can't get the calendar to show on the frontend, when i go to http://www.gypsygardenarts.com/events this is the message i get:

    Fatal error: Call to a member function loadDomainStylesScripts() on a non-object in /home/gypsyand/public_html/wp-content/themes/andra/events/gridview.php on line 3

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. syndicate57
    Member
    Posted 2 years ago #

    I'm encountering the same error any resolution yet? What have you tried?

    Fatal error: Call to a member function loadDomainStylesScripts() on a non-object in /home/lift/public_html/wp-content/themes/academica/events/gridview.php on line 3

    http://www.liftforlifeacademy.org/calendar/

  3. jonahcoyote
    Member
    Posted 2 years ago #

    Hmmm, strange error... Sounds like something server and/or WordPress/plugin related. Are you both using the latest version of the plugin (2.0.3) and WordPress? What type of server are running your sites on and what version PHP/MySQL? The more details the better...

  4. syndicate57
    Member
    Posted 2 years ago #

    WordPress 3.3.1
    Apache version 2.2.21
    PHP version 5.2.17
    MySQL version 5.1.56

    Uninstalled the plugin yesterday and reinstalled. Same result.

  5. vanhorn
    Member
    Posted 2 years ago #

    Same problem here, both in 3.2 and 3.3.1. If I comment out line 3 I get the full page but the days are different widths depending on their content.

  6. syndicate57
    Member
    Posted 2 years ago #

    vanhorn what file?

  7. vanhorn
    Member
    Posted 2 years ago #

    The file that was listed in the error log, the same reference you got. I assume this file is created in the current theme by the plugin.

    wp-content/themes/EWR004/events/gridview.php

    The file begins:

    <?php
    global $spEvents;
    $spEvents->loadDomainStylesScripts();
    get_header();
    ?>
  8. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Thanks for confirming, guys. Not sure what's up here but I've asked another one of our devs to take a look here and see if they can figure out what's up. Apologies for the inconvenience so far.

  9. syndicate57
    Member
    Posted 2 years ago #

    roblagatta,
    Any update? I've got clients breathing down my neck. Any update is appreciated. Thank You so much.

  10. jonahcoyote
    Member
    Posted 2 years ago #

    It actually sounds like you are using an outdated version of the gridview.php template file. You may still have had this old template file in the 'events' directory in your theme. If this is the case, you need to pull the latest one from /wp-content/plugins/the-events-calendar/views/gridview.php (as well as any other templates you had customized). Ideally you will want to compare the differences between the two to retain any changes you made but use the new template version. You could also try making a backup of your customized gridview.php and just copying in the new one to see if that resolves your issue.

    Let us know whether or not that works.

    - Jonah

  11. syndicate57
    Member
    Posted 2 years ago #

    I backed-up all the current files and replaced with the new version of gridview.php. Now it throws "Page not found," which I suppose is better then the error. Suggestions?

  12. syndicate57
    Member
    Posted 2 years ago #

    I deactivated and deleted the plugin. Reinstalled, activated and get this error:

    Fatal error: Call to a member function loadDomainStylesScripts() on a non-object in /home/lift/public_html/wp-content/themes/academica/events/gridview.php on line 3

  13. jonahcoyote
    Member
    Posted 2 years ago #

    Hey Syndicate, it sound like you are still somehow loading an older version of the gridview.php template because there is no function loadDomainStylesScripts in the plugin anymore...

  14. syndicate57
    Member
    Posted 2 years ago #

    Jonah,
    Your right I was forgetting about the customized view I created from the earlier version of The Events Calendar. I totally forgot that I created an "events" directory inside of my theme package. Inside there was the customized gridview.php file. DOH!

    Your last reply jogged my memory. Sorry for all the confusion and thanks for all the help again.

  15. jonahcoyote
    Member
    Posted 2 years ago #

    Awesome, glad it was something simple :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic