Fatal Error: Call to member function…

Home Forums Calendar Products Events Calendar PRO Fatal Error: Call to member function…

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27055
    Harry
    Participant

    I get this message when I look at my calendar page on new install with of open source version & PRO:
    Fatal error: Call to a member function loadDomainStylesScripts() on a non-object in D:\Hosting\3136778\html\wordpress\wp-content\themes\cubscouts\events\gridview.php on line 3

    #27066
    Jonah
    Participant

    Hi Kevin,

    It sounds like you’ve got an old template override from a previous version in the ‘events’ folder of your theme. Compare D:\Hosting\3136778\html\wordpress\wp-content\themes\cubscouts\events\gridview.php with /wp-content/plugins/the-events-calendar/views/gridview.php and try to merge the files as much as possible while keeping your modifications in place.

    I hope that helps!

    – Jonah

    #27093
    Harry
    Participant

    Sorry….I wish I knew code and had confidence enough in my skills to do what you’ve suggested. Can you help in any other way?

    #27147
    Jonah
    Participant

    Hi Kevin,

    Can you send me a copy of your D:\Hosting\3136778\html\wordpress\wp-content\themes\cubscouts\events\gridview.php file? You can email to pro [at] tri [dot] be referencing this thread and attn. to me.

    Thanks,
    Jonah

    #27181
    Jonah
    Participant

    Hi Kevin,

    There is bunch more in your in your gridview file that’s going to need to be changed and I won’t be able to help you preserve your specific customizations. You have two options:

    1. You can just rename this gridview file to gridview.phpOLD so the plugin does not use your customized copy and instead uses the core view file.

    2. You can do the work to compare your gridview.php file with the core file in /wp-content/plugins/the-events-calendar/views/gridview.php and merge the new code with your older customized code.

    I hope that helps but let me know if you need anything else.

    – Jonah

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error: Call to member function…’ is closed to new replies.