Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Unsupported operand types


Reply

10 Posts   15821 Views

Avatar
simon_w

23 January 2008 at 11:34am Forum Moderator, 474 Posts

You may want to have a look at the patch that was posted to the ticket.

http://open.silverstripe.com/ticket/2005

Avatar
KumaZatheef

23 January 2008 at 11:50am Community Member, 17 Posts

Thanks for pointing out the patch.

wow ... that's, uh .. quite the interesting method around the issue ...
"I think it's more a hack then a fix" ... definitely a hack (no offense).

Patient: It really hurts when I hold bend my knee.
Doctor: That's an easy fix, just don't bend your knee.
Patient: But how will I walk?
Doctor: Hop.

The problem lies in the use of Browscap.php ... what's it's purpose? I don't know the code as intricately as other members on here ... that's why I'm asking. Can it be done away with completely?