Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

JavaScript error with portfolio pagination

portfolio javascript
    • 4 years, 9 months ago the_lyall
      Participant

      Hello,

      With the Photography layout, if you select anything other than ‘none’ for the portfolio pagination setting there is a Javascript error when trying to view anything after the first page/initial loaded items.

      For example:

      • Set pagination to ‘none’
      • All items can be viewed and clicked to view larger image with no issues

      However:

      • Set pagination to anything else (‘infinite’ for example)
      • Any items set as the ‘display x items per page’ can be clicked to view larger image with no issues
      • Any images after this can be clicked but the large image does not load in the ilightbox. Instead a JavaScript error is displayed in the console as below.

      VM73:41 Uncaught TypeError: Cannot set property ‘speed’ of undefined

      at fa.loadContent (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:41:133)

      at fa.generateBoxes (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:57:350)

      at eval (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:39:383)

      I tried to verify this on your demo site but your demo site also does not have any pagination set. However if you add pagination and set it to (for example) 5 per page you should be able to recreate the issue when clicking on items 6+.

      I have the pagination set to ‘none’ so I do not get the error, but it is delaying my site load speed as I have 100 images and all of them are loading.

      Please can you advise what I need to update in the JS file to fix this? I have tried to fix it myself but can’t seem to pinpoint the issue.

      Thanks

    • 4 years, 9 months ago azam
      Keymaster

      Please share your site url also wp-admin and ftp details.

      Thanks

      • This reply was modified 4 years, 9 months ago by azam.
Viewing 1 reply thread

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password