Fatal Error in daily overview of Events Calendar PRO

Home Forums Calendar Products Events Calendar PRO Fatal Error in daily overview of Events Calendar PRO

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1014937
    atisatis
    Participant

    Good day,
    a few days ago can be opened at one time no more events. It has always displayed an error message (Fatal Error). This was referring to the following file … \ wp-content \ themes \ gameplan \ Tribe events \ single-event.php in line 88
    In support forum I’ve found a way to fix this message by I the original code of the line:
    if (tribe_get_map_link () = ”!) echo Tribe_Register_Meta :: gmap_link (); ?>
    have replaced with the following code:
    if (tribe_show_google_map_link ()) echo tribe_get_map_link_html (); ?>
    After I had done that can be opened now back events. However, another error message has appeared in the daily list of events.

    #1014963
    George
    Participant

    Hi @atisatis,

    I’m sorry you’re having trouble here!

    The file path in the error that you reported points to a file in your theme. It looks like there are custom Events templates in your theme, and so to see if those are the cause of the problems here, can you try navigating to the /tribe-events folder in your theme and do the following steps:

    1. First, make a backup of your theme and of this /tribe-events folder especially. Do not proceed until have at least one back up that you know you can restore the original files from, in case you lose the files permanently in the next steps I will recommend.

    2. Once you have a backup, try removing the entire /tribe-events folder from your theme.

    3. After doing this, do the issues and error notices persist on your site?

    4. If so, I would recommend proceeding with the troubleshooting steps here → https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    It is also worth noting that you are using outdated versions of Community Events and Facebook Events. Updating those to their most recent versions is recommended and may help with your issues as well.

    Cheers,
    George

    #1016114
    atisatis
    Participant

    Hi
    the license of the plugin I have now renewed. However, the error is still there. Now I also have noticed that not all events are displayed in the overviews of categories and days!
    The original error is still present.

    • This reply was modified 10 years, 7 months ago by atisatis.
    #1016333
    George
    Participant

    Thank you for the update @atisatis!

    Now that you’ve renewed your license, can you run through each of the steps I laid out in my last reply before this one?

    If you do those steps, let us know what you find! 🙂

    — George

    #1016559
    atisatis
    Participant

    Hi @George

    after I’ve deleted the folder /tribe-events, the sides are indeed constructed differently, but no error message appears and everything is as it should be.

    What I have to do next?

    cheers,
    atisatis

    #1016915
    George
    Participant

    Thanks for testing @atisatis – your results indicate that the problem is stemming from your own custom coded in the /tribe-events folder.

    We do not support custom code here, but you’ve already pretty much gone through the steps of fixing things like you described in your first post on this thread: go through all of your front-end events views with WP_DEBUG turned on, and note the PHP errors that display there.

    For each error, fix it like you mentioned fixing the first one in your original post on this thread; and once you get to the point where there are no errors displaying anymore, you can turn WP_DEBUG back off and proceed with your site from there without any more issues with The Events Calendar.

    I’m sure you’re familiar with turning WP_DEBUG on or off, but just in case you are not, you can do so by heading to your site’s wp-config.php file and change this line of code:

    define('WP_DEBUG', false);

    to this:

    define('WP_DEBUG', true);

    That will turn it on – to turn it off, just set the true value back to false.

    Best of luck with fixing your custom code, @atisatis! Since we cannot help with that, I will close up this thread for now. If separate issues or other questions arise at any time, come back and open a new thread for that and we’ll help you out from there 🙂

    Cheers!
    George

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error in daily overview of Events Calendar PRO’ is closed to new replies.