Hello, I’m trying to import some custom LayerSlider Slides and with the new version return me this error. I’m using the lastest version from Enfold and WordPress.
Fatal error: Cannot use string offset as an array in –/wp-content/themes/enfold/config-layerslider/LayerSlider/layerslider.php on line 835
What should I do? Thanks.
-
This topic was modified 12 years, 4 months ago by
Pedro.
installed on onlinebusienssplanners.com and cannot login to manage theme changes. Followed all instructions but not sure what the issue is.
Hallo,
ich sehe das etwas differenzierter als Devin – bei ein paar Punkten können wir denke ich helfen:
1) Dies ist standardmäßig der Fall. WooCommerce zeigt den “Textauszug” (aka Excerpt) neben dem Produktbild an: http://kriesi.at/themes/enfold/product/zoku-trioquick-pop-maker/ und die lange Bechreibung unterhalb des Warenkorb Buttons. Wenn du nur die lange Beschreibung neben den Bild anzeigen möchtest und dafür den “Produktbeschreibungs”-Tab entfernen möchtest, füge folgenden Code am Ende von functions.php ein
add_filter('woocommerce_short_description', 'avia_replace_woocommerce_shortdescription');
function avia_replace_woocommerce_shortdescription($excerpt)
{
global $post;
if (!$post->post_content) return $excerpt;
return apply_filters('the_content',$post->post_content);
}
add_filter('woocommerce_product_tabs', 'avia_remove_description_tab', 98);
function avia_remove_description_tab($tabs)
{
unset($tabs['description']);
return $tabs;
}
3) Ich möchte den Mengen – + entfernen sodass nur in den Warenkorb dar steht.
Füge folgenden Code in das Quick CSS Feld ein:
div form.cart div.quantity {
display: none !important;
}
5) Den Reiter “Bewertungen” möchte ich entfernen
Füge folgenden Code am Ende von functions.php ein:
add_filter( 'woocommerce_product_tabs', 'sb_woo_remove_reviews_tab', 98);
function sb_woo_remove_reviews_tab($tabs) {
unset($tabs['reviews']);
return $tabs;
}
6) Zu dem Warenkorb Button einen Wunschzettel button inkl richtigen verweis (dazu bräuchte ich glaube ein plugin)
Ja, dafür gibt es ein Plugin – zB http://www.woothemes.com/products/woocommerce-wishlists/
Die anderen Punkte erfordern tatsächlich etwas mehr Arbeit/Anpassungen und sollten daher entweder von einem erfahrenen Entwickler umgesetzt werden oder ihr bleibt beim Standardlayout von WooCommerce.
Hello!
We’ll fix this in the next version. If you need a quick solution open up enfold/js/shortcodes.js and replace
heading.each(function(i)
{
var thisheading = $(this), content = thisheading.next(options.content, container);
if(content.css('visibility') != "hidden")
{
thisheading.addClass('activeTitle');
}
thisheading.on('click', function()
{
if(content.css('visibility') != "hidden")
{
content.slideUp(200, function()
{
content.removeClass('active_tc').attr({style:''});
});
thisheading.removeClass('activeTitle');
}
else
{
if(container.is('.toggle_close_all'))
{
allContent.not(content).slideUp(200, function()
{
$(this).removeClass('active_tc').attr({style:''});
});
heading.removeClass('activeTitle');
}
content.addClass('active_tc').slideDown(200,
function()
{
//check if toggle title is in viewport. if not scroll up
var el_offset = content.offset().top,
scoll_target = el_offset - 50 - parseInt($('html').css('margin-top'),10);
if(win.scrollTop() > el_offset)
{
$('html:not(:animated),body:not(:animated)').animate({scrollTop: scoll_target},200);
}
}
);
thisheading.addClass('activeTitle');
location.replace(thisheading.data('fake-id'));
}
});
});
with
heading.each(function(i)
{
var thisheading = $(this), content = thisheading.next(options.content, container);
function scroll_to_viewport()
{
//check if toggle title is in viewport. if not scroll up
var el_offset = content.offset().top,
scoll_target = el_offset - 50 - parseInt($('html').css('margin-top'),10);
if(win.scrollTop() > el_offset)
{
$('html:not(:animated),body:not(:animated)').animate({scrollTop: scoll_target},200);
}
}
if(content.css('visibility') != "hidden")
{
thisheading.addClass('activeTitle');
}
thisheading.on('click', function()
{
if(content.css('visibility') != "hidden")
{
content.slideUp(200, function()
{
content.removeClass('active_tc').attr({style:''});
});
thisheading.removeClass('activeTitle');
}
else
{
if(container.is('.toggle_close_all'))
{
allContent.not(content).slideUp(200, function()
{
$(this).removeClass('active_tc').attr({style:''});
scroll_to_viewport();
});
heading.removeClass('activeTitle');
}
content.addClass('active_tc').slideDown(200,
function()
{
if(!container.is('.toggle_close_all'))
{
scroll_to_viewport();
}
}
);
thisheading.addClass('activeTitle');
location.replace(thisheading.data('fake-id'));
}
});
});
Regards,
Peter
I had done just nothing, just replaced the themefolder with the update 2.3.1 – no new plugin, I disabled all – but it is not only my site.
When I view other ENFOLD websites and look at their blog and the comments there, I don’t see the commentators’ gravatars/images.
As said above, it is the same with the ENFOLD demo theme.
It has obviously nothing to do with my own installation, it’s a browser issue.
When I view my site, the ENFOLD demo or other users’ ENFOLD website – I see everwhere no commentator’s images when I use Firefox 24.0 with Windows 7 prof. 64bit Desktop!
BEFORE this theme update all was fine – same browser version, same Firewall, even when I deactivate it (F-Secure), no images in in the comments section with Firefox. The error obviously had come with the complete rewrite of the code in update 2.3.(1).
Hey!
Your website is throwing an error.
Error establishing a database connection
Best regards,
Josue
Hello!
Enfold just generates one dynamic stylesheet – the relative path is /wp-content/uploads/dynamic_avia/enfold.css
This stylesheet contains all changes you make on the theme option panel.
Regards,
Peter
Hey!
We’ll include a fix in the next update – for now you can use the quick fix I posted here: https://kriesi.at/support/topic/enfold-doesnt-work-in-internet-explorer/#post-170437
Regards,
Peter
Hello!
Please try to clear the browser cache and update to Enfold 2.3.1. Kriesi fixed a small issue with the new icon fonts and it seems like the search form doesn’ display the icon – thus the new update may solve your issue too.
Cheers!
Peter
Hey!
Probably because of a small js error which just affects IE8 users. Try the quick fix I posted here: https://kriesi.at/support/topic/enfold-doesnt-work-in-internet-explorer/#post-170437
Best regards,
Peter
Hello!
You can try to exclude http://www.safetyrevolution.co.uk/wp-content/themes/enfold/js/html5shiv.js because it’s the only file which is not loaded by other browsers and only IE8 requires/loads it.
Cheers!
Peter
This reply has been marked as private.
This reply has been marked as private.
Hello,
I need help on a couple things on the enfold theme.
1. Change color of header alternate nav text and hover color. Now the text and hover is the same as main header but it does not work with dark background color for the upper portion of the header. Pls provide css code.
2. Change the color of just the tab itself and the text in the tab. This is not tab content container.. Pls provide css code.
3. How do I make each individual tab and text of tab (not container) a different color in only one set of tabs on a page? Pls provide css code.
The site is not live yet. ip address is 96.30.39.60.
Thx, Seth
This reply has been marked as private.
Hi Josue —
I could have included that as info, my apologies.
Yes, it works fine in the 2013 default theme.
I realize I could inquire with the EE folks but I would really like to get an answer from you guys. : )
Especially since it works fine in the default theme.
One more problem….
There’s another issue which is: the calendar gets really mashed up and does not look right. —
By saying “right” here’s an example:
— working properly example: http://tekpal.com/194-2/ (this is base 2013 default wordpress theme with Event Espresso)
[url=http://postimg.org/image/qgcxbwn8f/][img]http://s11.postimg.org/qgcxbwn8f/working_calendar_ee_wp2013basetheme.jpg[/img][/url]
http://s11.postimg.org/cmokmuun7/working_calendar_ee_wp2013basetheme.jpg
— problem example: this is Enfold with the mashed up calendar: http://lamothetech.com/events-calendar/
(( all you see are very narrow vertical boxes — when you click on the narrow vertical box in the calendar, you will see a calendar event ))
[url=http://postimg.org/image/fn5qtq7m3/][img]http://s9.postimg.org/fn5qtq7m3/bad_calendar_ee_wp2013basetheme.jpg[/img][/url]
http://s9.postimg.org/99gnqh2q7/bad_calendar_ee_wp2013basetheme.jpg
Hi,
I’m using Enfold with WordPress 3.6.1. I installed the jquery-updater plugin to solve previous version incompatilites. Now I’m getting this error when previewing the layerslider.
LayerSlider: old jQuery issue
It looks like you are using an old version (1.10.2) of the jQuery library. LayerSlider requires at least version 1.7.0 or newer. If you are using the WordPress version of LayerSlider, you can try out the “jQuery Updater” plugin from the WP plugin depository. If you don’t know what to do, you can write us a private message from our CodeCanyon profile page. We need a temporary WP admin account (or a temporary FTP account in some cases) to solve this issue.
Although I found a previous post on this topic, I don’t find the source code functions referred to.
I will be happy to downgrade jquery or patch the Enfold sources. Please let me know what I can do.
Thanks for your attention.
Hello ace2296!
Sorry but you need to hire a freelance developer to implement or add the features for you. You can post a feature request here: https://kriesi.at/support/topic/enfold-feature-requests/
Cheers!
Ismael
It turns out your code did work on the icon list icons, but not on the icons that are at the top of the icon boxes. Mike.
I need some help with the way Enfold displays my slider. I am using the MetaSlider plugin. It offers a slider that operates at less than full-page width which is what I need. MetaSlide functions perfectly in preview mode and with other themes but with Enfold it breaks. Hovering over a slide is supposed to pause the slides and this happens with other themes. Not Enfold. When hovering with Enfold the slides continue. What changes do I need to make get the desired pause/resume behavior? If LayerSlider gave an option of less than full page width, it would be perfect.
Thanks you.
I am using latest 3.6.1 wordpress and your latest enfold theme version 2.3. Your download must be faulty then. I installed it twice and still got no plugin options.
There were no such notifications or options to install a Woocommerce plugin- in my Enfold. Dashboard – only the forum plugin was notified as an available option.
Its only fair and logical to me, that if you have optional information to read somewhere, as a backup, then at least I could have had a choice. I only discovered the information from the Shop Home page text, and I wasnt even expecting it there.
.Luckily I dont think I need the shop just yet, but I wanted to look at it, see how it worked.
There were dozens of confusing names and descriptions come up in the plugin search, and as I was not guided as to which one, I wasted hours trying to ascertain the information which should have been there in the theme info all along.
Hey set_carsten!
Can you give us a link to the website please? The header on our Enfold 2.3 installation with the same style is not missing any borders. Please add this on your custom.css or Quick CSS:
#header_main_alternate {
border-top: none;
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom: 1px solid red;
}
Best regards,
Ismael
Hi!
You can use this to change the color of the menu container:
#header_main_alternate, .bottom_nav_header.social_header .main_menu ul:first-child {
background: #abbe31;
}
Font size of the main menu:
.bottom_nav_header.social_header .main_menu ul:first-child>li a {
font-size: 13px;
}
Color of the menus:
.bottom_nav_header.social_header .main_menu ul:first-child > li a {
color: red;
}
Regards,
Ismael
Hi David,
Can you post a link to your website please?
Regards,
Josue
Hey Todd!
Does it work if you switch back to the Default WP theme?
Cheers!
Josue
Hello riatech!
As far as i know, not for now, feel free to request it here.
Regards,
Josue
I have Event Espresso installed on my site and when I try to do a portfolio page and include an event espresso shortcode on the portfolio page it does not appear. I get nothing.
i.e.,
[ inserted in Avia as a “text block” ]
[[ text start ]]
Mrs. Claus
would be so proud that you believe.
So would Cher.
[EVENT_LIST event_category_id=santa] <– so this is the shortcode obviously : )
[[ text end ]]
Could you direct me as to how to get a shortcode working from a plugin when it isn’t appearing on various enfold pages?
I have a site with this as an illustration but it is not a public URL… so I can give admin access if you want to see it… let me know how.
Thanks!
(( awesome theme )) : )
-Todd
Hi Yigit,
I finally got around to inserting the code, but it didn’t work. Would you mind taking a look? http://acmecontentlab.com/what-we-do/
Thanks!
Mike.
Using a child theme, we’ve only made some minor changes, overriding the following files:
- header.php
- footer.php
- styles.css
- layout.css
- functions.php containing a modified avia_logo() renamed to avia_child_logo()
For blog posts, we can see the blog list just fine (blog list view is working, blog page properly assigned in theme), however when clicking through the blog post title to the blog post single view, the <div id=”main”> is empty, and the footer isn’t generated. We’re using the default page content templates from the parent theme (enfold).
When not using the child theme, the blog post single view is generating properly. What other details could we have missed?
For examination, our test site is .
Any help on this would be appreciated.