By rob28542 on Tuesday, 08 June 2021
Replies 5
Likes 0
Views 768
Votes 0
Have found an issue in JEvents 3.6.15 which I can't seem to track down.

Steps to replicate:

  1. Menu item - Type: JEvents - Core » View by Month » View by Month
  2. Click on 'By Year' (Generates URL: <root>/<calendar-path>/year.listevents/2021/06/07/- )


This will then throw a PHP warning:

Warning: stristr(): Empty needle in <public_path>/libraries/src/Document/HtmlDocument.php on line 314


The above message also renders a load of unreadable binary code.

In some instances, the year view will render after step 2, and then when choosing the second page the above error will be thrown.

Attempts to fix:

  • Reinstall plugin
  • Reinstall Joomla Core Files


No success with the above, can't seem to find any other instances.

Support Info:

PHP Version : 7.3.20
MySQL Version : 5.5.68-MariaDB
Server Information : Linux 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : No
Max Input Vars ? : 2000
Club code set? : No
Joomla : 3.9.27
component_com_jevents : 3.6.15
component_com_jce : 2.8.10
module_mod_jevents_cal : 3.6.15
module_mod_jevents_custom : 3.6.15
module_mod_jevents_filter : 3.6.15
module_mod_jevents_latest : 3.6.15
module_mod_jevents_legend : 3.6.15
module_mod_jevents_switchview : 3.6.15
plugin_actionlog_jevents : 3.6.15
plugin_content_jevents : 3.6.15
plugin_finder_jevents : 3.6.15
plugin_installer_jeventsinstaller : 3.6.15
plugin_search_eventsearch : 3.6.15
plugin_system_gwejson : 3.6.15
Hello,

This seems more theme related see your menu item: tilbehor it also had it. I toggled to the beez5 template with:?template=beez5 and it renders correctly. Given the error relates to the 'Style' rendering too. For now I would set error reporting to simple or none and liaise with your template developer on this.

Many thanks
Tony
·
Wednesday, 25 August 2021 05:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Firstly please accept my apologies on the delays, we haven't been getting notified of posts so I am having to go through the site manually looking for unsolved posts.

We only use that function on imports really so that is strange. Can you please provide super user logins on reply and ideally FTP so I can debug this?

Many thanks
Tony
·
Wednesday, 16 June 2021 06:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I also get the error message when viewing an event:
Warning: stristr(): Empty needle in .../libraries/src/Document/HtmlDocument.php on line 314


PHP Version : 7.4.22
MySQL Version : 5.7.32-35-log
Server Information : Linux am5.siteground.biz 3.12.18-clouder0 #1 SMP PREEMPT Wed Jun 9 16:10:01 EEST 2021 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 3000
Club code set? : Yes
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Joomla : 3.10.0
component_com_jevents : 3.6.15
component_com_jce : 2.9.11
module_mod_jevents_cal : 3.6.15
module_mod_jevents_calendarplus : 3.4.1
module_mod_jevents_custom : 3.6.15
module_mod_jevents_filter : 3.6.15
module_mod_jevents_latest : 3.6.15
module_mod_jevents_legend : 3.6.15
module_mod_jevents_slideshow : 3.4.3
module_mod_jevents_switchview : 3.6.15
module_mod_tabbedmodules : 3.0.8
layout_JEventsExtPlusLayout : 3.4.6
layout_JEventsFlatplusLayout : 3.4.15
layout_JEventsFloatLayout : 3.4.8
layout_JEventsIconicLayout : 3.5.6
layout_JEventsMapLayout : 3.4.1
layout_JEventsRuthinLayout : 3.4.9
layout_smartphone : 3.4.0
plugin_actionlog_jevents : 3.6.15 (not enabled)
plugin_content_jevent_embed : 3.4.0
plugin_content_jevents : 3.6.15
plugin_editors-xtd_jevents : 3.0
plugin_finder_jevents : 3.6.15
plugin_installer_jeventsinstaller : 3.6.15 (not enabled)
plugin_jevents_agendaminutes : 3.1.11
plugin_jevents_jevcustomfields : 3.5.8
plugin_jevents_jevfacebooksocial : 3.4.1 (not enabled)
plugin_jevents_jevfeatured : 3.4.0
plugin_jevents_jevfiles : 3.7.17
plugin_jevents_jevmatchingevents : 3.3.7
plugin_jevents_jevpopupdetail : 3.4.3
plugin_jevents_jevtags : 3.4.2
plugin_jevents_jevtimelimit : 3.4.4
plugin_search_eventsearch : 3.6.15
plugin_system_gwejson : 3.6.15
·
Saturday, 21 August 2021 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, Tony. Error reporting is actually set to None in Joomla global config/Server Settings. But I will have a look at the template. Thanks for pointing me in the right direction!
·
Wednesday, 25 August 2021 09:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Just an update on this, as this error only occurs in jevents detail view: Turning the Joomla system cache off, the error disappears and event detail displays as expected. Turning the cache setting back on, the error is reproduced. This is regardless of template, so as far as I understand, it is a Jevents issue.
I've left the cache off for now. If you want to do your own testing with the pm'd credentials, please turn the cache on just for a short while.
Any help appreciated.
·
Wednesday, 25 August 2021 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post