-
AuthorPosts
-
January 22, 2014 at 12:14 pm #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 adviceNotice: 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
- This topic was modified 10 years, 10 months ago by CelebrationEvents.
January 22, 2014 at 12:18 pm #213270Hey CelebrationEvents!
Is this still happening? I don’t see the error and the masonry is working when I checked the link.
Best regards,
IsmaelJanuary 22, 2014 at 12:20 pm #213272The 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
- This reply was modified 10 years, 10 months ago by CelebrationEvents.
January 23, 2014 at 9:50 am #213748Hey!
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!
PeterJanuary 23, 2014 at 11:24 am #213781Hey 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 896January 23, 2014 at 12:10 pm #213797Hello 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 51January 23, 2014 at 3:43 pm #213886Hey!
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,
IsmaelJanuary 23, 2014 at 3:59 pm #213900SEO 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 51its the same error, van you fix this or should i conact Yoast ?
- This reply was modified 10 years, 10 months ago by CelebrationEvents.
January 23, 2014 at 11:15 pm #214139Hey!
Try adding this to your wp-config.php:
error_reporting(E_ALL); ini_set(‘display_errors’, 0);
Best regards,
JosueJanuary 24, 2014 at 1:40 pm #214396I 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- This reply was modified 10 years, 10 months ago by CelebrationEvents.
January 24, 2014 at 2:02 pm #214401More 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
January 24, 2014 at 3:00 pm #214426Hey!
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,
PeterJanuary 24, 2014 at 3:54 pm #214465I 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 allowedIs 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 ?January 24, 2014 at 5:54 pm #214522Hey!
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,
PeterJuly 27, 2014 at 4:41 pm #296481Hi 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 1I will let you know right here (if the thread is still open) whether I encounter new problems concerning the notices and warnings.
July 27, 2014 at 4:51 pm #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.
July 27, 2014 at 5:38 pm #296488Seems – 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!
July 28, 2014 at 1:50 pm #296749Okay! 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. :)
July 28, 2014 at 8:36 pm #296972You are welcome Remco, glad we could help :)
August 7, 2014 at 10:49 pm #301375Hm – 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!
August 11, 2014 at 4:41 pm #302707Hey!
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,
PeterAugust 11, 2014 at 9:53 pm #302882Thanks 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
August 11, 2014 at 10:40 pm #302885Hi!
Try adding this line to wp-config.php or theme functions.php:
error_reporting(E_ALL & ~E_NOTICE);
Regards,
JosueAugust 12, 2014 at 3:08 pm #303233OK, 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!
August 12, 2014 at 5:34 pm #303347Hi!
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,
JosueAugust 12, 2014 at 7:26 pm #303388Can we please figure out what the issue is so we’re not just hiding error messages?!
August 12, 2014 at 8:25 pm #303405Hello
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!
JosueAugust 14, 2014 at 9:02 pm #304591Thanks Josue,
I’ll wait for Kriesi to make the changes in the next update as Peter mentioned above.Brgds,
Larry -
AuthorPosts
- The topic ‘Error : undefined index’ is closed to new replies.