Opened 9 years ago

Closed 9 years ago

#1167 closed bug (fixed)

bug report - fatal error on querying forum posts

Reported by: bentivoglia Owned by: jeanyves
Priority: critical Milestone: new design bugfixing
Component: BW Profile Keywords:
Cc:

Description

BW Rox version: user agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 request uri: http://www.bewelcome.org/people/bentivoglia

When I click on 'view forum posts' (left pane of my profile page), I get the fatal error below. No idea what it is; FF-compatibility issue, maybe?

Search Results

bentivoglia

posted 2009/06/10 !09:36

In topic:

Fatal error: Using $this when not in object context in /home/bwrox/www.bewelcome.org/build/forums/forums.view.php on line 69

Change History (7)

comment:1 Changed 9 years ago by micha

  • Owner set to jeanyves

comment:2 Changed 9 years ago by micha

  • freq_reported changed from 1 to >5
  • version set to all

comment:3 Changed 9 years ago by sitarane

I get the same, and so does user crumbking.

comment:4 Changed 9 years ago by crumbking

  • Milestone changed from unassigned to new design bugfixing

comment:5 Changed 9 years ago by globetrotter_tt

  • Priority changed from minor to critical

comment:6 Changed 9 years ago by jeanyves

  • follow_up changed from review code to test

I Fixed it in production directly.

The reason was that in the forum_view object, a function was defined as static:

(public static function postURL($post) )

I removed the "static" property here sinceit doesn't seem of any use

It is to be tested on production

comment:7 Changed 9 years ago by crumbking

  • Resolution set to fixed
  • Status changed from new to closed

tested on prodction - seems to work...

in the long run we should add a pagination the lists of members forum posts...

but this goes into a new ticket.

fixed

Note: See TracTickets for help on using tickets.