tyssen / Deetector

ExpressionEngine device- and feature-detection add-on
15 stars 1 forks source link

PHP Errors randomly appear #3

Closed hql287 closed 7 years ago

hql287 commented 11 years ago

Hi John

Sometimes I get there PHP Error after login to the CP.

A PHP Error was encountered Severity: Notice Message: Undefined property: stdClass::$hirescapable Filename: deetector/pi.deetector.php Line Number: 74

A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /Users/quochungle/Sites/mysite.com/system/codeigniter/system/core/Exceptions.php:170) Filename: core/Common.php Line Number: 412

The only thing I can do to make it go away is to clear the browser's cache.

I'm currently using your plugin to find out if the user's device screen is capable of handling high resolution images..

Thanks!

tyssen commented 11 years ago

So you get this in a front-end template after having logged in to the CP? Have you got debugging on or off for index.php?

On Tuesday, 4 June 2013 at 4:55 PM, hungle88 wrote:

Hi John
Sometimes I get there PHP Error after login to the CP. A PHP Error was encountered Severity: Notice Message: Undefined property: stdClass::$hirescapable Filename: deetector/pi.deetector.php Line Number: 74
A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /Users/quochungle/Sites/mysite.com/system/codeigniter/system/core/Exceptions.php:170 (http://mysite.com/system/codeigniter/system/core/Exceptions.php:170)) Filename: core/Common.php Line Number: 412
The only thing I can do to make it go away is to clear the browser's cache. I'm currently using your plugin to find out if the user's device screen is capable of handling high resolution images.. Thanks!

— Reply to this email directly or view it on GitHub (https://github.com/tyssen/Deetector/issues/3).

hql287 commented 11 years ago

Hi John

Yes, i have this error in my front-end template. I have $debug = 0 in my index.php

I also this error notice when I login on my phone:

Severity: Notice Message: Undefined Property" stdClass:: $minor Filename: deetector/pi.deetector.php Line Number: 110

...

tyssen commented 11 years ago

Does it appear only when logged in as a super admin or other member groups too?

On Wednesday, 5 June 2013 at 1:11 PM, hungle88 wrote:

Hi John Yes, i have this error in my front-end template.
I have $debug = 0 in my index.php
I also this error notice when I login on my phone:
Severity: Notice Message: Undefined Property" stdClass:: $minor Filename: deetector/pi.deetector.php Line Number: 110
...

— Reply to this email directly or view it on GitHub (https://github.com/tyssen/Deetector/issues/3#issuecomment-18953191).

hql287 commented 11 years ago

Looks like it appears when I log in as super admin only.

tyssen commented 11 years ago

I'll try to look into it sometime but pretty busy at the moment. With it only being a super admin issue it means it's not going to affect your site visitors so not so critical.

On Thursday, 6 June 2013 at 2:09 PM, hungle88 wrote:

Looks like it appears when I log in as super admin only.

— Reply to this email directly or view it on GitHub (https://github.com/tyssen/Deetector/issues/3#issuecomment-19023953).

hql287 commented 11 years ago

Sure! Thanks, John!