#1821 - Clicking on a banner results in a PHP critical error
| 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 |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
The field filter is now applied in more circumstances than before, but does not work correctly within the banner click script as that loads a reduced form of Composr that cannot handle the full filter code.