?
avatar errols
errols
5 Apr 2016

Overview

An invalid login (userid or password) causes a fatal error in Article-Related (mod_related_items) with Menu Assignment set to: "On all pages except those selected". If the Menu Assignment is changed to: "Only on the selected pages" an invalid login gives the expected login error page (component/users/?view=login). In both menu assignment scenarios the same pages are targeted.

Steps to reproduce the issue

1) login module on any page
2) Create Article-Related module (mod_related_items). Set Menu Assignment to: "On all pages except those selected"
3) Articles with or without matching Meta Keywords
4) Login in with invalid credentials gives fatal error
5) Change Article-Related module Menu Assignment to: "Only on the selected pages"
6) Login in with invalid credentials gives expected results

Expected result

login error page (component/users/?view=login)

Actual result

Fatal error: Call to a member function setState() on a non-object in /var/www/sbx01/modules/mod_related_items/helper.php on line 44

System information (as much as possible)

PHP Built On: Linux errol-lxm1 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64
Database Version: 5.5.47-0ubuntu0.14.04.1
Database Collation: utf8_general_ci
Database Connection Collation: utf8mb4_general_ci
PHP Version: 5.5.9-1ubuntu4.14
Web Server: Apache/2.4.7 (Ubuntu)
WebServer to PHP Interface: apache2handler
Joomla! Version: Joomla! 3.5.0 Stable [ Unicorn ] 21-March-2016 22:00 GMT
Joomla! Platform Version: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
The same results on local Linux Mint / Apache2 and production hosting site.

Additional comments

The Overview covers it.

avatar errols errols - open - 5 Apr 2016
avatar errols errols - change - 5 Apr 2016
Title
Login causes fatal error in mod_related_items with Menu Assignment: "On all pages except those selected"
Login causes fatal error in [mod_related_items] with Menu Assignment: "On all pages except those selected"
avatar errols errols - change - 5 Apr 2016
Title
Login causes fatal error in mod_related_items with Menu Assignment: "On all pages except those selected"
Login causes fatal error in [mod_related_items] with Menu Assignment: "On all pages except those selected"
avatar brianteeman brianteeman - change - 5 Apr 2016
Status New Information Required
avatar brianteeman
brianteeman - comment - 5 Apr 2016

Please can you upgrade to 3.5.1 (released just now) as there was a fix for the mod_related_items module (#9519) in that release that may have resolved your issue.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9743.

avatar errols
errols - comment - 6 Apr 2016

Thank you. Issue resolved after upgrading to 3.5.1. It also caused Jevents not to work, by the way.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9743.

avatar Bakual Bakual - change - 6 Apr 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-04-06 06:09:13
Closed_By Bakual
avatar Bakual Bakual - close - 6 Apr 2016
avatar Bakual
Bakual - comment - 6 Apr 2016

Closing since fixed with 3.5.1

avatar Bakual Bakual - close - 6 Apr 2016
avatar errols
errols - comment - 6 Apr 2016

Brian,

I upgraded and the issue is resolved. For the record and maybe future inquiries: this module caused the same error when using JEvents calendar.

Thanks for the quick resolve!

Errol

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, April 6, 2016 00:36
To: joomla/joomla-cms
Cc: errols
Subject: Re: [joomla/joomla-cms] Login causes fatal error in [mod_related_items] with Menu Assignment: "On all pages except those selected" (#9743)

Please can you upgrade to 3.5.1 (released just now) as there was a fix for the mod_related_items module (#9519 #9519 ) in that release that may have resolved your issue.


This comment was created with the J!Tracker Application https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/9743 https://issues.joomla.org/tracker/joomla-cms/9743 .


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #9743 (comment) Image removed by sender.

Add a Comment

Login with GitHub to post a comment