Uncaught TypeError: Cannot read property 'length' of undefined

More
8 years 4 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 4 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 4 months ago - 8 years 4 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 4 months ago by Rybak. Reason: добавил более широкое описание

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

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

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

Powered by Kunena Forum

Last from the forum

    • jomexej304
    • The crimson peony shrimp sushi is big. The shrimp body is almost 9 centimeters long. It's miles sweet and chewy. The beef is thick and very scrumptious. The clam meat cooked with sake is sweet and has no sand. 
    • In Component / Afisha Joomla
    • Баг?
    • У меня одна категория материалов. В этой категории несколько сотен материалов. Есть несколько кастомных полей.Первое типа list (categorywork), другие* list c мультивыбором. Другие* зависят от первого Атрибут showon (categorywork:1, categorywork:2 и так далее). Какие настройки я должен сделать на вкладке "Параметры фильтрации", что бы в модуле подбора вылезали не сразу все "Другие", а только та, которая зависит от showon (как это реализовано в Joomla)? Установлена Joomla 5.1.4 + JL Content Fields Filter v.3.0.0 То есть вылезают все select, даже те которые содержат в себе параметры отсутствующие у материалов (не назначенные к материалам). Изображения: раз: drive.google.com/file/d/1wDtY_iBL5StjrTv...3co/view?usp=sharing два: drive.google.com/file/d/1Vqy5MlJWC15i3z1...nbo/view?usp=sharing
    • In Modules Joomline / JL Content Fields Filter
    • sports
    • Tesla CEO Elon Musk was snubbed from TIME Magazine’s “Most Influential People in AI” list, despite being the driving force behind the company’s self-driving efforts, data collection, and the development of the humanoid robot Optimus, along with other projects, like xAI. TIME released its list today, highlighting what it intended to be a compilation of the most brilliant names in AI. Those on the list have achieved big things, and the names on the list are not to be discredited in any way. Some of the names on the list are the biggest in tech and AI development. Jensen Huang, CEO of Nvidia, Sam Altman, CEO of OpenAI, Satya Nadella, CEO of Microsoft, and Mark Zuckerberg, CEO of Meta, are all included on the list. These are just a few of the names that TIME listed as the most influential in AI, but Musk was not included.  
    • In Общий форум / Общие вопросы по Joomla
© 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.