Viewing 14 replies - 1 through 14 (of 14 total)
  • 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

    https://www.liftforlifeacademy.org/calendar/

    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…

    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.

    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.

    vanhorn what file?

    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();
    ?>

    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.

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

    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

    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?

    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

    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…

    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.

    Awesome, glad it was something simple ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: The Events Calendar] error message’ is closed to new replies.