Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #213265

    Hello Enfold Theme,

    i get more errors the loger i use Enfold, is there something wrong with my installation.
    Today i created a new simple portfolio page http://www.celebrationevents.eu/portfolio-item/bruiloft-kasteel-hooge-vuursche/
    Just a few fotos and text , i get the following error. Please advice

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 233

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 234

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #213270

    Hey CelebrationEvents!

    Is this still happening? I don’t see the error and the masonry is working when I checked the link.

    Best regards,
    Ismael

    #213272

    The pages works fine, but when is save the page these messages appaer :

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 233

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 234

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #213748

    Hey!

    Please try following fix – open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php and replace

    
    if($meta['index'] == 0) $params['close'] = false;
    

    with

    
    if(!isset($meta['index'])) $meta['index'] = 0;
    if($meta['index'] == 0) $params['close'] = false;
    

    Cheers!
    Peter

    #213781

    Hey Peter,

    Thanks this error is gone at the new created page.

    When i modfy an older page i get this error :
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 331
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 332
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 333
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #213797

    Hello Peter

    One more error, entering the Menubuilder this shows up :

    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    #213886

    Hey!

    Please try to disable existing plugins, see if the errors are gone. Activate them again one at a time to find the chaotic plugin.

    Regards,
    Ismael

    #213900

    SEO by Yoast causes the problem!
    Whitout the the plugin activated the errors are disapeared!

    Can i still use the Yast plugin / my pages work when there are saved with the Yasot plugin activated ?

    When i rewmove en reinstall Yoast i get this message :
    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    its the same error, van you fix this or should i conact Yoast ?

    #214139

    Hey!

    Try adding this to your wp-config.php:

    error_reporting(E_ALL); ini_set(‘display_errors’, 0);
    

    Best regards,
    Josue

    #214396

    I added is whitout result. When saving this page<http://www.celebrationevents.eu/verhuur/deejay-inhuren/

    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 331
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 332
    Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php on line 333
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229
    Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize.php:331) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896

    #214401

    More Errors when I updated tot WP 3.8.1

    Notice: Trying to get property of non-object in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 51

    #214426

    Hey!

    I think the issue is caused by the envato update api class. You’ve two options:

    1) Update the api file to the latest version – the code can be found here: https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php – just delete the code in wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and insert the updated code. I’m not sure if it will work because I can’t test the api.

    2) You can deactivate the update api – insert following code into the child or parent theme functions.php file – i.e. insert it at the very bottom of the file

    
    add_theme_support('avia_manual_updates_only');
    

    Best regards,
    Peter

    #214465

    I tried both, but the error keep coming when saving a page.

    I have an additinal error on my dashboard when i want to go to the update section :

    (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/update.php on line 267
    No direct script access allowed

    Is there a way to make a fresh installation for wordpres en Enfold. Without loosing my pages en data ?
    Is this the best to do now, or do you have another sollution ?
    Or should i undo the APi class udate ?

    #214522

    Hey!

    If even the default wordpress update class ( /var/www/02/62/71/celebrationevents.eu/www/wp-includes/update.php ) can’t connect to the wordpress.org server it’s probably a server configuration issue. Did you try to install the theme + wordpress on a different server/hoster?

    Regards,
    Peter

    #296481

    Hi all.

    Same sort of thing happening here today. Concerning the layer slider, the accordion slider, and then some. So I found this thread, and indeed the code fix helped a lot. Replacing the >>> if($meta[‘index’] == 0) $params[‘close’] = false;

    Yet, this doesn’t work for the accordion slider. If I execute that in that php-file an error comes up on top of the frontend website. So that’s a no-go. Leaving me in a status quo position: saving certain pages leads to blank screens with notice messages. Yet, the changes then have been saved, and the visitors don’t see any of it. So it ‘seems’ only the accordion slider has some flaw-like thing. But now, as I read everything here, I’m worried about the future: what will happen when updating theme and WP the next time?

    A short hint to how this appeared, as well as where the flaw could be: I’ve moved the website (hch-cursussen.nl) from a subdomain to the root domain folder. And faced some problems in that process. For one, in the subdomain version all was just perfect. Now, moved, WordPress doesn’t send out any mails. Not when using the contact forms, not the admin mails, not for the forum, not for other notifications. Nothing. And, even though it seems like that is a problem on the server side, today I wanted to see what would happen if I just rebuilt it all. A fresh WP installation, a fresh Enfold, connecting this to the database, and uploading WordPress XML and Enfold theme settings files. The result sucked, I removed this reinstall with FTP, and I moved back the original files with FTP. And that’s where the misery begins. Like I talked about in an other post on this website, some days ago: error messages on top of the website, after trying to do 1 simple thing in a WP-uploads file. Which I will never even think of doing again, ever.

    So anyway, this kind of problems occurs only from such a moment on. Pretty distinct. I’m so very not techie that I have no clue whether the problems are based in the db, or in WP, or in theme files. But the moment of entry of these is pretty distinct.

    I’m awaiting the host’s reply concerning the non-functional e-mail. Since this is what the php-test gave me (which tells me they can somehow fix this again, right?) :
    Warning: mail() has been disabled for security reasons in /srv/hchcur/www/www.hch-cursussen.nl/test.php on line 1

    I will let you know right here (if the thread is still open) whether I encounter new problems concerning the notices and warnings.

    #296484

    …and indeed, as soon as you deactivate (I had to reactivate all the plugins – that could be a key thing too… idk) SEO by Yoast the entire problem ‘seems’ gone: the notices are not there anymore in any page-editing screens. Where they were there, right at the bottom, IN the SEO by Yoast area. At the top of tabs 2, 3 and 4, and at the bottom of tab 1.

    #296488

    Seems – indeed, seems ;)

    The flaw is there. Yoast turned off, so the messages don’t appear in the backend this time. On the frontend they do however.

    This specific accordion slider page is showing its error messages now. This is the only real question I want to ask you guys: I would kill for a solution or workaround here.

    Thanks in advance!

    #296749

    Okay! Phase #71 :’)

    The several error messages on the frontend disappear when I replace the ‘ordinary’ images in the accordeon slider with portfolio-generated items. Weird, to me, but so it is. Still, it should be able to work flawlessly with images. So I tried Josue’s tip again. Yet, slightly adjusting the code…

    error_reporting(E_ALL); ini_set(‘display_errors’, 0);
    error_reporting(E_ALL); ini_set(“display_errors”, 0);

    And the result is squeeky clean! Thanks @Josue et al. :)

    #296972

    You are welcome Remco, glad we could help :)

    #301375

    Hm – I just read through this thread because I have the same issue (also when running WordPress SEO by Yoast). Of all the above replies by the Kriesi team, what is the recommended fix exactly? My errors are as follows (the *** are just hiding the names of the directories)…

    Notice: Undefined index: index in /***/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 118

    Notice: Undefined index: index in /***/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 121

    Warning: Cannot modify header information – headers already sent by (output started at /***/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php:118) in /***/***/***/***/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /***/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php:118) in /***/***/***/***/wp-includes/pluggable.php on line 1121

    Thanks!

    #302707

    Hey!

    Please open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php and replace:

    
    if($meta['index'] == 0) $params['close'] = false;
    if(!empty($meta['siblings']['prev']['tag']) && in_array($meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section )) $params['close'] = false;
    				
    if($meta['index'] != 0) $params['class'] .= " slider-not-first";
    
    

    with

    
    
    if(empty($meta['index'])) $params['close'] = false;
    if(!empty($meta['siblings']['prev']['tag']) && in_array($meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section )) $params['close'] = false;
    				
    if(!empty($meta['index'])) $params['class'] .= " slider-not-first";
    

    I’ll ask Kriesi to include these changes with the next update.

    Regards,
    Peter

    #302882

    Thanks Dude,

    I did this (in my child theme, so I created the dirs and then copied the original PHP file) and it stopped the exact same error, but I still see the first two error messages reported right under the Yoast panel in the pages I’m editing…

    Notice: Undefined index: index in /home/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 118

    Notice: Undefined index: index in /home/***/***/***/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 121

    Any

    #302885

    Hi!

    Try adding this line to wp-config.php or theme functions.php:

    error_reporting(E_ALL & ~E_NOTICE);
    

    Regards,
    Josue

    #303233

    OK, I did that and the errors are no longer there. May I ask what that line did exactly? Also, if/when the theme is updated how this will affect the changes I made to the child theme?

    Thank you!

    #303347

    Hi!

    That line will only hide “notice” messages. If you put it in your wp-config.php file you don’t have to worry about updates.

    Best regards,
    Josue

    #303388

    Can we please figure out what the issue is so we’re not just hiding error messages?!

    #303405

    Hello

    Those are not error messages, but notices telling that there is an uninitialized variable, if you really want to ‘solve’ them, try changing the compromised lines in /config-templatebuilder/avia-shortcodes/slideshow_layerslider.php to:

    if(isset($mega['index'])) if(empty($meta['index'])) $params['close'] = false;
    if(!empty($meta['siblings']['prev']['tag']) && in_array($meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section )) $params['close'] = false;
    				
    if(isset($mega['index'])) if(!empty($meta['index'])) $params['class'] .= " slider-not-first";

    Cheers!
    Josue

    #304591

    Thanks Josue,
    I’ll wait for Kriesi to make the changes in the next update as Peter mentioned above.

    Brgds,
    Larry

Viewing 28 posts - 1 through 28 (of 28 total)
  • The topic ‘Error : undefined index’ is closed to new replies.