• Resolved pakkiodj

    (@pakkiodj)


    good evening, my post carousel is no longer working properly. It gives me a js error, the only way to make it work and disable the Page Builder by SiteOrigin plugin, is absurd!

    the site is: https://onoranzefunebrifacelli.it/

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi, thanks for reaching out.

    When able, please, try running a plugin and theme conflict test. Temporarily deactivate all plugins not authored by SiteOrigin, does the issue resolve in this state? If the issue does not resolve, temporarily switch to a default theme like Twenty Nineteen and temporarily deactivate all plugins not authored by SiteOrigin. Once you’ve found a working baseline you can begin to reactivate your theme and then plugins one by one to find the conflict.

    Thread Starter pakkiodj

    (@pakkiodj)

    But the conflict is with the site origin plugin .. if I just leave the site origin widget plugin it works

    is not the version of javascript that gives problems?

    Plugin Support Andrew Misplon

    (@misplon)

    Something is preventing the carousel’s assets from loading normally. Unfortunately, we don’t have a useful error in the console to guide us. We know that by default, on its own, the carousel functions. The first part of the test is confirming that. Temporarily deactivate all plugins except for those authored by SiteOrigin, leave all SiteOrigin plugins activated, does the carousel function normally in that state?

    Plugin Support Andrew Misplon

    (@misplon)

    If, with only SiteOrigin plugins activated the issue persists, temporarily switch to a default theme like Twenty Nineteen. Does the carousel function in that state? We’re trying to find a working baseline. Once we’ve found a baseline we can add the theme and plugins back until the issue is located.

    Thread Starter pakkiodj

    (@pakkiodj)

    Plugin Support Andrew Misplon

    (@misplon)

    Thanks, if you upload a ZIP copy of the theme to WeTransfer.com or Dropbox/Drive and send us the link, we’ll try to assist further.

    Thread Starter pakkiodj

    (@pakkiodj)

    Plugin Contributor alexgso

    (@alexgso)

    Hi pakkiodj,

    Thanks. Unfortunately, the provided version doesn’t include an unminifled version of the theme JS file and that file isn’t present in the base Pixie Starter theme. Do you have a repo with the modified version you’re using? Alternatively, are you able to provide me with a copy of the unminified version of js/script.min.js?

    I see you’re using a non-standard version of jQuery. Does this issue occur if you use the WordPress bundled version of jQuery?

    Kind regards,
    Alex

    Thread Starter pakkiodj

    (@pakkiodj)

    Unfortunately I have nothing not minimized.
    I sent you the whole theme folder.
    How can I put the correct version of jquery?

    Thread Starter pakkiodj

    (@pakkiodj)

    script.min.js is a bootstrap file i think

    Plugin Contributor alexgso

    (@alexgso)

    Hi pakkiodj,

    I’m sorry to hear that. Are you able to reach out to the developer who made the modifications to your theme to see if they have an unminified version of that file and how to prevent the theme from loading the non-standard version of jQuery?

    The specific conflict you’re facing is linked to a specific line in the minified file so it’s important that the unminified version is provided so we can see the full stack trace of that error.

    How you prevent the non-standard version of jQuery really depends on how the theme is loading it. That’s a developer level questions so it’s not something we’re really set up to handle over the forums.

    I’ve had another look at the scripts.min.js file and it doesn’t appear to be Bootstrap. If it is, it’s likely a very old version.

    Kind regards,
    Alex

    Thread Starter pakkiodj

    (@pakkiodj)

    yes, is bootstrap 3.6

    Plugin Support Andrew Misplon

    (@misplon)

    Hi, it looks like theme built /lib/jquery.js and /lib/main.js into /js/script.min.js. You might try the following:

    In functions.php change:

    wp_enqueue_script( 'pixie-script', get_template_directory_uri() . '/js/script.min.js' );

    to:

    // wp_enqueue_script( 'pixie-script', get_template_directory_uri() . '/js/script.min.js' );

    Thereby commenting that line out.

    Next, add just below the above line:

    wp_enqueue_script( 'pixie-script', get_template_directory_uri() . '/lib/main.js' );

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘my post carousel is no longer working properly’ is closed to new replies.