Forum Replies Created
-
AuthorPosts
-
Hi Rikard,
Yes I’m still having problems even after updating to the latest version of the theme (which I did yesterday). The errors (which are displayed on my hosting dashboard and on the SFTP folder for error logs) are pasted here below in detail. Do you have any idea what I could do to make these errors go away?
JUNE 7
[07-Jun-2018 14:04:33 UTC]
PHP Warning: Invalid argument supplied for foreach() in phar:///opt/pantheon/wp-launch-check-0.x/wp-launch-check.phar/php/pantheon/checks/cron.php on line 58JUNE 8
[08-Jun-2018 14:38:08 UTC] PHP Notice: Trying to get property of non-object in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66
[08-Jun-2018 14:38:08 UTC]
PHP Notice: Undefined variable: main_color in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/css/dynamic-css.php on line 35[08-Jun-2018 14:38:08 UTC]
PHP Notice: Undefined variable: primary in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/css/dynamic-css.php on line 47[08-Jun-2018 14:38:08 UTC]
PHP Notice: Undefined variable: primary in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/css/dynamic-css.php on line 52[08-Jun-2018 14:38:08 UTC]
PHP Notice: Trying to get property of non-object in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 66[08-Jun-2018 15:13:26 UTC]
PHP Fatal error: Uncaught Error: Call to a member function reset_options() on null in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/functions-enfold.php:1566
Stack trace:#0
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php (286): avia_generate_stylesheet(”)#1
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php (310): WP_Hook->apply_filters(”, Array)#2
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/plugin.php (453): WP_Hook->do_action(Array)#3
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/framework/php/function-set-avia-backend.php(89): do_action(‘ava_after_theme…’)#4
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php (286): avia_update_helper->update_version(”)#5
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php (310): WP_Hook->apply_filters(NULL, Array)#6
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes in /srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-content/themes/enfold/functions-enfold.php on line 1566This reply has been marked as private.I have a few more details on the above:
After the theme update, I had to re-copy the header.php file from the parent theme to my child theme because the last update modified it and was causing my lightbox to not work properly. I don’t know if these errors are because of the new version of the header.php after the theme update. Here are the errors in more detail:
PHP Warning: Invalid argument supplied for foreach() in phar:///opt/pantheon/wp-launch-check-0.x/wp-launch-check.phar/php/pantheon/checks/cron.php on line 58
PHP Fatal error: Uncaught Error: Call to a member function reset_options() on null in /wp-content/themes/enfold/functions-enfold.php:1547
Stack trace:#0
/srv/bindings/9bed856b5f7c443f842262608ed4d5d6/code/wp-includes/class-wp-hook.php(286): avia_generate_stylesheet(”)#1
/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)#2
/wp-includes/plugin.php(453): WP_Hook->do_action(Array)#3
/wp-content/themes/enfold/framework/php/function-set-avia-backend.php(89): do_action(‘ava_after_theme…’)#4
/wp-includes/class-wp-hook.php(286): avia_update_helper->update_version(”)#5
/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)#6
/wp-content/themes/enfold/functions-enfold.php on line 1547I see it… thank you so much for fixing it. I’ll let you all know if I come across other issues. I think this is good for now =) and you can close the thread if you need to.
Take care,
Maria
Hi Yigit, I’m still experiencing some issues (although some other issues are now gone), and just found a NEW issue: go to the link below and inspect it as a tablet and scroll down, you’ll see that the black logo bar where the menu is now disappeared leaving an awful blank space when users scroll down on tablets.
This reply has been marked as private.Also, the styles that do show on the website are from wp-content/uploads/dynamic_avia/avia-merged-styles-863cc0d389448791234229e60fa5cc19.css?ver=4.9.4
Also, none of the styles from the quick css section are loading.
I had to edit the avia-merged-styles css file because I kept getting too many complaints…. but that’s not really a sustainable strategy.
Can you explain why this is happening?
- This reply was modified 6 years, 8 months ago by leadingnorth.
Also, the styles that do show on the website are from wp-content/uploads/dynamic_avia/avia-merged-styles-863cc0d389448791234229e60fa5cc19.css?ver=4.9.4
Can you explain why this is happening?
So, for example, on the page I placed below, I have on my THIS on my child theme’s style.css:
.av-catalogue-title {
text-transform: none;
}.av-catalogue-title-container {
font-size: 1em;}
But when you inspect it, it shows that it’s pulling the information from here: /wp-content/uploads/dynamic_avia/teneo_2018_theme.css?ver=5a9d960727cca instead of from here: /wp-content/themes/enfold-child/style.css?ver=4.2.5. And the text-transform and font size I mentioned above are crossed out.
Ever since the update, none of the styles changes I make on my child theme’s style.css take priority or effect on the website. How can I make it so my child theme’s style.css changes are the ones reflected on the site?See the private section for a link to my website.
March 1, 2018 at 3:55 pm in reply to: Update to 4.2.4 – Feb 21, 2018 caused certain shortcodes to stop working #919703Thank you Victoria. I have a question though, will I run into this same issue next time I update the theme?
February 21, 2018 at 11:24 pm in reply to: Update to 4.2.4 – Feb 21, 2018 caused certain shortcodes to stop working #915775Hi Yigit,
I just reinstalled the theme and the issues remain (I also just noticed that the masonry elements on the homepage and footer are now gone too). See below for credentials and thanks for your help!
January 12, 2018 at 5:33 pm in reply to: Made excerpt length on the Masonry blog longer but Perfect grid cuts off content #896637Hello, I have a similar issue but with the excerpt displaying too long. I only want the except on masonry elements to display 10 words, so I added this:
add_filter(‘avf_masonry_excerpt_length’,’avia_change_masonry_excerpt_length’, 10, 1);
function avia_change_masonry_excerpt_length($length)
{
$length = 10;
return $length;
}You can see on the private link how it does not limit the excerpt to 10 words. Can you help me figure out why?
I don’t know if this info is helpful, but I have the size settings as Flexible Masonry: All entries get the same width but Images of each entry are displayed with their original height and width ratio.
Sure. Thanks so much!
In case anyone wants to use this, I added the “>” to the right hand side of the ‘read more’ tag to make it look a bit better, and here’s the code for functions.php:
/*add read more to masonry team page*/
add_filter(‘avf_masonry_loop_prepare’, ‘avia_change_default_link’, 10, 2);
function avia_change_default_link($loop, $entries) {
if($loop[‘post_type’] == “team_members”) {
$more = “<br /><span class=’more-link’>”.__(‘Read more’, ‘avia_framework’).'<span class=”more-link-arrow”></span>’.”</span>”;
$loop[‘content’] .= $more;
}return $loop;
}thanks again Victoria!
Thank you so much….that worked!
This reply has been marked as private.This reply has been marked as private.Hello,
I too want to add a ‘Read more” link to masonry elements based on post types, and I found the code below on another thread, but when I try it, the ‘read more’ tag gets added but the excerpt goes away. Can you tell me why? Here’s the code I’m adding to functions.php in my child theme:
add_filter(‘avf_masonry_loop_prepare’,’avia_change_default_link’, 10, 2);
function avia_change_default_link($loop, $entries)
{
foreach($entries->posts as $key => $entry)
{
if($entry->post_type == “team_members”)
{
$more = “<br /><span class=’more-link’>”.__(‘Read more’,’avia_framework’).”</span>”;
$loop[‘content’] = avia_backend_truncate($entry->post_content, apply_filters( ‘avf_masonry_excerpt_length’ , 80) , apply_filters( ‘avf_masonry_excerpt_delimiter’ , ” “), “…”, true, ”) . $more;
}
}return $loop;
}Hello, I too would like to figure this out. I’m adding captions to all the images in the horizontal gallery, but they’re not showing. How can I make them show? Thank you.
Is there a way to keep the dropdown open when the mouse is no longer over it? That’s the problem I’m having…I’m trying to do something to keep the dropdown open long enough where you can select a date and the form fills out.
Hi John,
I don’t have a problem with things not working. What I need is a way for the top navigation mega menu dropdown to stay open long enough so I can select dates and not have the background dropdown close so quickly.
Hi Victoria,
The problem is the fact that the mega menu closes on its on when one tries to pick the arrival date…. I’ve been tweaking it here and there, but it should be there now.
-
AuthorPosts