Plugin

Archived
Forum
(read-only)

Switchee

ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From Mark Croxton

     

PHP Error

Bug Report

Jon Thomas
Jon Thomas

I’m getting the following PHP errors with Switchee on PHP 5.6.1 in MAMP:

A PHP Error was encountered
Severity: 8192

Message: Non-static method Switchee::usage() should not be called statically, assuming $this from incompatible context

Filename: switchee/pi.switchee.php

————————————————————————————————————————————————

Line Number: 9

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Users/jonthomas/Sites/continental/site/be7org4ia/codeigniter/system/core/Exceptions.php:170)

Filename: core/EE_Input.php

Line Number: 212

————————————————————————————————————————————————

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Users/jonthomas/Sites/continental/site/be7org4ia/codeigniter/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 442

————————————————————————————————————————————————


http://cl.ly/image/3J1v0S3U041M

Mark Croxton
# 1
Developer
Mark Croxton

This is a PHP 5.6 error notice, it was fixed a week or so ago so you just need to download the latest code:

https://github.com/croxton/Switchee/tree/develop

Jon Thomas
# 2
Jon Thomas

Oh, I just saw that the version number matched what I had so I thought it was a new bug. Thanks Mark. Sorry I missed that.