• Resolved fdfpt

    (@fdfpt)


    Hello

    I Have this Error:

    All-in-One Event Calendar: Undefined index: instance_id @ /public_html/wp-content/plugins/all-in-one-event-calendar/app/view/event/single.php:166 #8

    Anyone got any suggestions?

    King Regards
    FDF Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same error and it presumably causes the 504 Gateway Timeout Error on my website. I haven’t found a fix yet, any help would be appreciated.

    If you look at the code on line 166 of /wp-content/plugins/all-in-one-event-calendar/app/view/event/single.php, you’ll see this code:

    
    $instance_id     = $_GET[ 'instance_id' ];
    

    If the variable instance_id isn’t set, I think you’ll get the undefined index error. You might try commenting out the line above and substituting a test for whether the variable is set like this:

    
    //$instance_id     = $_GET[ 'instance_id' ];
    $instance_id = (isset($_GET['instance_id']) ? $_GET['instance_id'] : null);
    

    Of course, every time Time.ly updates the plugin, your changes will be overwritten if they haven’t fixed this.

    Hello,

    This issue, regarding the PHP errors, has been fixed, and will be reflected in the new release — release date today. Script functionality was not affected. Apologies for any inconvenience.

    For faster assistance, please log into your Timely account and open a ticket by clicking on the Get Help link, or click here: https://dashboard.time.ly/account/get-help.

    [ Moderator note: Signature redacted. ]

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undefined index: instance_id Version 2.5.17’ is closed to new replies.