Uncaught TypeError: Cannot read property 'length' of undefined

More
8 years 10 months ago #5714 by Nikita
Добрый день!
После обновления плагина JL Like (v 3.3.1) до последней версии появилась ошибка в работе. Судя по поведению, плагин теперь конфликтует с соседним расширением Widgetkit YOOTheme (если отключить одного из них -- будет работать), судя по коду -- JL Like просто не дописывает код. Всё остальное работает, даже Widgetkit, хотя ему достается от незакрытых скобочек JL Like.

Страница с ошибкой: ldubna.ru/26-ekonomika/308-shop_spring_migration

Ошибка в консоли:
buttons.js?5:147 Uncaught TypeError: Cannot read property 'length' of undefinedButton.collectShareInfo @ buttons.js?5:147Button.init @ buttons.js?5:91FacebookButton @ buttons.js?5:304(anonymous function) @ buttons.js?5:745
buttons.js?5:147 Uncaught TypeError: Cannot read property 'length' of undefinedButton.collectShareInfo @ buttons.js?5:147Button.init @ buttons.js?5:91VkontakteButton @ buttons.js?5:388(anonymous function) @ buttons.js?5:749
buttons.js?5:147 Uncaught TypeError: Cannot read property 'length' of undefinedButton.collectShareInfo @ buttons.js?5:147Button.init @ buttons.js?5:91TwitterButton @ buttons.js?5:350(anonymous function) @ buttons.js?5:747
buttons.js?5:147 Uncaught TypeError: Cannot read property 'length' of undefinedButton.collectShareInfo @ buttons.js?5:147Button.init @ buttons.js?5:91odnoklassnikiButton @ buttons.js?5:451(anonymous function) @ buttons.js?5:751
buttons.js?5:147 Uncaught TypeError: Cannot read property 'length' of undefined

и т.д.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5726 by JoomLine
Создайте пожалуйста тикет. joomline.net/ru/helpdesk/plugin/jllikepro.html
Суть в том, что этой ошибки не должно быть в Joomla 3.5. А плагин поседней версии не должен устанавливаться на Joomla если ее версия ниже 3.5.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #5778 by Rybak
Никита, подскажите пожалуйста.
Вам удалось избавиться от этой проблемы?

У меня аналогичная проблема.
Возникает при таких условиях:
- Кнопка Readmore - выведена в самом начале перед текстом статьи (т.е. вступительного текста - нет)
- В статье шорткодом выведена галерея из компонента widgrtkit 2
- На странице включен плагин JL Like

Консоль выдает 6 (по каждой из кнопок соц сетей) одинаковых ошибок:
Uncaught TypeError: Cannot read property 'length' of undefined
plugins/content/jllike/js/buttons.js Строка :146
Last edit: 8 years 9 months ago by Rybak. Reason: добавил более широкое описание

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5780 by JoomLine
покажите ссылку на ваш сайт

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • blogsandarticlesshop
    • The calories of an avocado are basically similar to a bowl of rice, that's a excessive-calorie meals, and most of the energy come from its fats, which is equal to six teaspoons of oil, but! Its suitable fats - monounsaturated fatty acids, are desirable for you and can lower bad ldl cholesterol within the blood. Just don't devour more than one serving a day. Secondly, it's far very rich in protein and nutritional fiber. One avocado presents one-third of what adults want to absorb every day. The folic acid in it is able to relieve fatigue and toughen the immune device. Diet E can defend the skin and decrease potassium. Blood strain... Various dietary values make it impossible to resist to those who care about their body.
    • In Component / JL TV
    • blogherenowgroup
    • One day, a monkey drove his car near a lake. Sudden, he saw a tiger under a tree. The tiger saw him, too. The tiger ran very fast at the monkey. The monkey was very afraid and he and his car fell into the lake. The monkey couldn't swim and he shouted. A rabbit came and he jumped into the lake. The abbit swam to the monkey but did not help him. Both of them shouted forhelp. Luckily, a giraffe came along. He was very tall. He helped the rabbit and the monkey.  
    • In Component / JL Weather
    • blogherenowshop
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she wondered what it might open. With the key clutched tightly in her hand, she approached the old house. The door creaked open with surprising ease, and Emma stepped inside. The interior was just as dusty as the outside, but it had an air of mystery. She wandered through the rooms, discovering old furniture and forgotten toys. Each room told a story of a family that had once lived there long ago. As she explored, Emma came upon a small, locked chest in the corner of one room. Her heart raced as she inserted the key into the lock. With a satisfying click, the chest opened to reveal a collection of old photographs, letters, and a beautiful, hand-carved wooden box. Inside the wooden box was a small locket. When Emma opened it, she saw a picture of a young girl who looked strikingly similar to herself. Beside the locket was a letter addressed to "The Finder of the Key." The letter explained that the house had belonged to a family who had to leave quickly many years ago, leaving behind their cherished belongings. The letter's writer was the young girl’s great-grandparent, and the locket was a family heirloom meant to be passed down. Emma's heart swelled with joy as she realized that she had discovered a piece of her own history. She decided to bring the locket and the other treasures to her parents. They were amazed and touched by the find, and they decided to restore the old house, making it a special place to remember their family’s history. From that day on, the house was no longer forgotten. It became a cherished part of the town, where Emma and her family would often visit, sharing stories of the past and making new memories. And so, the little girl with the curious heart had not only uncovered a hidden treasure but had also brought new life to a piece of history, all with a simple, forgotten key.
    • In Component / JL TV
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.