#1821 - Clicking on a banner results in a PHP critical error

  • By
  • Added
  • 4 views
Identifier #1821
Issue type Major issue (breaks an entire feature)
Title Clicking on a banner results in a PHP critical error
Status Completed
Handling member PDStig
Addon banners
Description Clicking on a banner through the Composr banner system results in:

PHP ERROR [1] Call to a member function is_staff() on a non-object in sources/input_filter.php on line 521 (version: 9.0.17, PHP version: 5.4.38, URL: /banner.php?source=&dest=bronysquare&type=click&keep_session=1174567177)

The bug is also present in version 9.0.18 .
Steps to reproduce

1. Create a banner

2. Click the banner when it appears on site

3. You get an Composr critical error bailing out page. The full error reflects PHP call to member function is_staff() on a non-object in sources/input_filter.php on line 521.

Funded? No
Commits

25f9f2e

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated