Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Bortch

    (@bortch)

    on widget:

    Notice: Undefined index: no_upcoming_events in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/views/events-list-load-widget-admin.php on line 41
    value="1" />

    fixed on line 42-43 by:

    if (!empty($instance)&&isset($instance[‘no_upcoming_events’])){
    checked( $instance[‘no_upcoming_events’], 1 );}

    Thread Starter Bortch

    (@bortch)

    Notice: Undefined index: error in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/the-events-calendar-exception.class.php on line 29

    fixed by

    if( isset($eventsOptions[‘error’]) && $eventsOptions[‘error’]) : //fix

    Notice: Uninitialized string offset: 1 in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/views/events-options.php on line 204

    fixed by

    if (!empty($defaultCountry)&&$defaultCountry[1] == $fullname) { //fix

    <code>Notice: Undefined index: embedGoogleMaps in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13</code>
    
    Notice: Undefined index: viewOption in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: showComments in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: displayEventsOnHomepage in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: embedGoogleMaps in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: embedGoogleMapsHeight in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: embedGoogleMapsWidth in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: resetEventPostDate in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13
    
    Notice: Undefined index: useRewriteRules in /homez.311/artistpr/www/site/wp-content/plugins/the-events-calendar/template-tags.php on line 13

    temporary fixed by

    function eventsGetOptionValue($optionName, $default = ”) {
    global $spEvents;
    if($optionName && isset($spEvents)) {
    if( $spEvents->latestOptions )
    {return $spEvents->latestOptions[$optionName];}
    else{$options = $spEvents->getOptions();

    if (isset( $options[$optionName]) )//fix
    {
    return $options[$optionName];}
    else{return $default;}
    }
    }
    }

    Thread Starter Bortch

    (@bortch)

    Notice: Undefined variable: embedGoogleMapsOnStatus in /www/site/wp-content/plugins/the-events-calendar/views/events-options.php on line 258

    fixed on line 251-257

    if( $embedGoogleMapsValue == ‘on’ ) {
    $embedGoogleMapsOnStatus = ‘checked=”checked”‘;
    $embedGoogleMapsOffStatus = ”;//fix
    } else {
    $embedGoogleMapsOnStatus = ”;//fix
    $embedGoogleMapsOffStatus = ‘checked=”checked”‘;
    }

    Thread Starter Bortch

    (@bortch)

    Notice: Undefined variable: yesCommentStatus in /www/site/wp-content/plugins/the-events-calendar/views/events-options.php on line 181

    fixed on line 176-182:

    if( $showCommentValue == ‘no’ ) {
    $noCommentStatus = ‘checked=”checked”‘;
    $yesCommentStatus=”;//fix
    } else {
    $yesCommentStatus = ‘checked=”checked”‘;
    $noCommentStatus = ”;//fix
    }

    Thread Starter Bortch

    (@bortch)

    Notice: Undefined variable: listViewStatus in /www/site/wp-content/plugins/the-events-calendar/views/events-options.php on line 159

    fixed by adding on line 149-153:

    if( $viewOptionValue == ‘upcoming’ ) {
    $listViewStatus = ‘checked=”checked”‘;
    $gridViewStatus = ”;
    } else {
    $gridViewStatus = ‘checked=”checked”‘;
    $listViewStatus =”;//fix
    }

    Thread Starter Bortch

    (@bortch)

    Notice: Undefined index: isEvent in /www/site/wp-content/plugins/the-events-calendar/the-events-calendar.class.php on line 845

    fixed by:

    if (isset($_POST['isEvent'])&& $_POST['isEvent'] == 'yes') {//fix

    Notice: Undefined index: isEvent in /www/site/wp-content/plugins/the-events-calendar/the-events-calendar.class.php on line 902

    fixed by:
    if (isset($_POST['isEvent'])&&$_POST['isEvent'] == 'no' && is_event( $postId ) ) {

    Thread Starter Bortch

    (@bortch)

    under the Ical url
    Notice: get_bloginfo est appelé avec un argument qui est déprécié depuis la version 2.2 ! L’option home est obsolète pour la famille des fonctions basées sur bloginfo(). Utilisez plut?t l’option url. in /www/site/wp-includes/functions.php on line 3321

    may be fixed like this:
    in the-events-calendar.class.php on line 1295
    $blogHome = get_bloginfo('url');
    in event-option.php on line 96-97

    <p><?php _e('Here is the iCal feed URL for your events: ' ,$this->pluginDomain); ?><code><?php bloginfo('url'); ?>/?ical</code></p>
    <p><?php _e('The iCal feed can be sorted by sub-category. Add the category slug to the above URL: ' ,$this->pluginDomain); ?><code><?php bloginfo('url'); ?>/?ical=some-sub-category</code></p>

    in gridview.php on line 34
    <a class="ical" href="<?php bloginfo('url'); ?>/?ical=<?php echo $tecCatObject->slug; ?>"><?php _e('iCal Import', $spEvents->pluginDomain) ?></a>
    in list.php on line 19
    <a class="ical" href="<?php bloginfo('url'); ?>/?ical=<?php echo $tecCatObject->slug; ?>"><?php _e('iCal Import', $spEvents->pluginDomain) ?></a>
    in single.php on line 11
    <a class="ical" href="<?php bloginfo('url'); ?>/?ical=<?php echo $post->ID; ?>"><?php _e('iCal Import', $spEvents->pluginDomain) ?></a>

    Thread Starter Bortch

    (@bortch)

    Thanks for fast reply.

    I’ve temporarily fixed by this way:

    function cms_tpv_save_settings() {
    	$new_cms_tpv_action=NULL;
    	if (isset ($_POST["cms_tpv_action"])){$new_cms_tpv_action=$_POST["cms_tpv_action"];}
    	if ($new_cms_tpv_action == "save_settings") {

    also I’ve had another error (around line 660) fixed through:

    $post_type = $_GET["post_type"];
    	if (isset($_GET["search_string"]))//b
    	{//b
    	$search = trim($_GET["search_string"]);// exits if we're doing a search
    	}//b
    	else {$search=NULL;} //b

    and finally another one :
    Undefined property: stdClass::$post_type in <b>/www/site/wp-admin/includes/template.php</b> on line <b>603</b><br />

    badly fixed in ‘wp-admin/includes/template.php’ on line 603:

    if ( empty($screen))
    {$post_type = 'post';}
    else
    {
    if(isset($screen->post_type))
    {$post_type = $screen->post_type;}
    else
    {$post_type = 'post';}
    }

    no more notification…

    It’s surely not the best solution… but it works till now.

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