Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #916599

    Dear support,

    i just updated the theme to the last version, the website is a simple without any code modification both main theme and child.
    I have just one page showing masonry -> source category post.

    The page loads everything but the masonry’s elements. inspecting the page i get this error:

    TypeError: $(‘.grid-links-ajax’).avia_portfolio_preview is not a function. (In ‘$(‘.grid-links-ajax’).avia_portfolio_preview()’, ‘$(‘.grid-links-ajax’).avia_portfolio_preview’ is undefined)

    what should i do? i tried to do another page, but same result, looks like Avia functions in this element are not working, i tried also to overwrite the theme again, but nothing works.

    Thank you

    #916650

    Hey marco3253,

    Here is a thread for you to consider

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #916690

    thank you for your answer.
    i disabled the word fence who is the only plugin who can prevent the execution of some file, but nothings change.
    Also, i checked into the wp-content/uploads/dynamic_avia
    for some .js file, but i have only three files called

    enfold.css
    enfold_child.css
    index.php

    so this looks pretty strange comparing to the post you suggest to take a look at.

    Marco

    #916858

    Hi,

    Cna you please make sure that this folder has CHMOD 775 for us please?

    Thank you

    Best regards,
    Basilis

    #918554

    I had this same issue (my dynamic_avia folder is writable). As far as I can tell the problem is that the Masonry Grid shortcode depends on the javascript function avia_portfolio_preview, which is located in the file portfolio.js. That file is only enqueued when using the Portfolio shortcode, not the Masonry Grid shortcode. The thread Victoria linked earlier is not related since the compiled file is not generated because the .js file is not enqueued.

    I worked around this by add this to my functions.php to manually enqueue the file:
    wp_enqueue_script( ‘avia-module-portfolio’ , AviaBuilder::$path[‘pluginUrlRoot’].’avia-shortcodes/portfolio/portfolio.js’ , array(‘avia-shortcodes’), false , TRUE);

    That feels a bit hacky though.

    #918914

    Thank you for your post Webbmekanikern, i tried to add your code to functions.php into the child theme but when i save i got this error:

    Uncaught Error: Class ‘AviaBuilder’ not found in D:\xampp\htdocs\infrweb\wp-content\themes\enfold-child\functions.php:8
    Stack trace:
    #0 D:\xampp\htdocs\infrweb\wp-settings.php(424): include()
    #1 D:\xampp\htdocs\infrweb\wp-config.php(91): require_once(‘D:\\xampp\\htdocs…’)
    #2 D:\xampp\htdocs\infrweb\wp-load.php(37): require_once(‘D:\\xampp\\htdocs…’)
    #3 D:\xampp\htdocs\infrweb\wp-admin\admin.php(31): require_once(‘D:\\xampp\\htdocs…’)
    #4 D:\xampp\htdocs\infrweb\wp-admin\theme-editor.php(10): require_once(‘D:\\xampp\\htdocs…’)
    #5 {main}
    thrown

    #919278

    Hi,

    I am afraid we cant understand a lot from that issue as it is on localhost.
    It would be the best we help you solve the issue when you have it live.

    Best regards,
    Basilis

    #919504

    it was working until i updated the theme to the last version :(
    something is changed, i will revert to a backup as i don’t know how to solve this.

    #919655

    Hi,

    Thanks for the feedback, if you should need an earlier version of the theme then let us know.

    Best regards,
    Rikard

    #919697

    I just uploaded a old backup (november) of the enfold folder, version 4.2, everything is working.

    #920080

    Hi,

    Great, glad you got it working. We released a new version (4.2.5) yesterday which you could try out as well.

    Best regards,
    Rikard

    #922223

    Overwriting the new enfold theme on the current theme i get this error just visiting the home page (the home page contain the masonry -> source category post item)

    Fatal error: Cannot redeclare av_countdown_events_fallback() (previously declared in D:\xampp\htdocs\infrweb\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\events_countdown.php:10) in D:\xampp\htdocs\infrweb\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php on line 12

    #922304

    Hi,

    Thanks for the feedback. We’re looking into to the issues with the latest release as we speak.

    Best regards,
    Rikard

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.