• I tested the particles on the test site and it worked.
    Then I installed and enabled the plug-in on the main site, included only parallax and particles
    https://prntscr.com/jkyp5d
    Included particles for the section and added the json configuration
    https://prntscr.com/jkypi7
    But there was an error on the page
    particles.min.js?ver=1.0.5:9 Uncaught TypeError: Cannot read property ‘getElementsByClassName’ of null
    at window.particlesJS (particles.min.js?ver=1.0.5:9)
    at (index):516
    https://prntscr.com/jkypt7

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey FOmenkoandrey,

    I got the same problem, did you find a solution ?
    Uncaught TypeError: Cannot read property ‘getElementsByClassName’ of null | particles.min.js?ver=1.0.5:9

    • This reply was modified 6 years, 5 months ago by nesoor.
    Thread Starter fomenkoandrey

    (@fomenkoandrey)

    Do not use the id of the element where you include the particle.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘particles JS error Cannot read property ‘getElementsByClassName’ of null’ is closed to new replies.