0
Welcome Guest! Login
0 items Join Now

SOLVED Case Studies jquery error

    • staffiery's Avatar
    • staffiery
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 2

    SOLVED Case Studies jquery error

    Posted 9 months 2 weeks ago
    • Just upgraded site to Joomla 4.3.3 php 8.2.8 mysql 10.5.19.

      Using the Case Studies Particle for the Fluent template (1.5.1 with Gantry 5.5.16)

      Getting:

      Uncaught TypeError: e.indexOf is not a function
      load jQuery
      <anonymous> https://$$$$$$$$$$$$.com/templates/rt_fluent/custom/js/casestudies.init.js:1 jquery.min.js:2:85359

      So the tiles all load in a single column.
    • Karol Orzeł's Avatar
    • Karol Orzeł
    • Elite Rocketeer
    • Posts: 4787
    • Thanks: 289
    • One Crazy Dev

    Re: SOLVED Case Studies jquery error

    Posted 9 months 2 weeks ago
    • Hello,

      It seems like there might be an issue with your jQuery library or the way it is being called, as the error message suggests a problem with a jQuery function. The 'indexOf' method is used for arrays and strings, but your error suggests that it's trying to use it on something else.

      The specific JavaScript file that is causing the issue appears to be 'casestudies.init.js' according to the error message. I recommend checking that file and ensuring it is correctly formatted and calling jQuery properly.

      Also, ensure you're using the latest version of jQuery and there's no conflict with other scripts on your site. In some cases, other extensions or scripts can cause conflicts that lead to such errors. If you are using other extensions or plugins on your site that also use jQuery, this could potentially be a source of the conflict.

      If the issue persists, it would be helpful if you could provide FTP access and Joomla admin access through the secure tab in the ticket, so we can take a closer look at your setup and try to identify the cause of the problem.

      Kind Regards,
      Karol Orzeł, RocketTheme Support
    • Last Edit: 9 months 2 weeks ago by Karol Orzeł.
    • karolorzel.com
    • staffiery's Avatar
    • staffiery
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 2

    Re: SOLVED Case Studies jquery error

    Posted 9 months 2 weeks ago
    • This message contains only secure information that is visible to Karol Orzeł, moderators and administrators
    • staffiery's Avatar
    • staffiery
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 2

    Re: SOLVED Case Studies jquery error

    Posted 9 months 1 week ago
    • staffiery's Avatar
    • staffiery
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 2

    Re: SOLVED Case Studies jquery error

    Posted 9 months 1 week ago
    • I am still having issues with the Case Studies particle on the home page only. The tiles line up in a single column and the menu links are not working.

      The Error I'm getting is:

      Uncaught TypeError: e.indexOf is not a function
      jQuery 3
      load
      <anonymous>
      <anonymous>
      jquery.min.js:2:85359
      jQuery 3
      load
      <anonymous>
      <anonymous>
      Uncaught TypeError: e.indexOf is not a function
      load jQuery
      <anonymous> programs.waveconcepts.com/templates/rt_f...asestudies.init.js:1
      jquery.min.js:2:85359
      load jQuery
      <anonymous> programs.waveconcepts.com/templates/rt_f...asestudies.init.js:1

      from /media/vendor/jquery/js/jquery.min.js?3.6.3

      Could this be because I'm using a custom version of the particle which wasn't update when updating the template to 1.5.1?
    • staffiery's Avatar
    • staffiery
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 2

    Re: SOLVED Case Studies jquery error

    Posted 9 months 1 week ago
    • Yup, it was the custom particles and javascript that wasn't updated when updating the template to 1.5.1. I renamed the old files and added the yaml, twig and js files for the Casestudies Particle and resolved the Javascript conflict.

Time to create page: 0.051 seconds