• Home
  • Support
  • Forum
  • Cobalt 8
  • Strict Standards: Declaration of CobaltViewRecordsController::display() should be compatible with that of JControllerLegacy::display()

Jeff VIP
Total posts: 745
27 Oct 2015 02:40

Hi,

this warning shows up when Developer mode error reporting is turned on:

Strict Standards: Declaration of CobaltViewRecordsController::display() should be compatible with that of JControllerLegacy::display()

Easy fix

components/com_cobalt/views/records/view.feed.php line 16

replace

function display()

with

function display($urlparams = false)

Inspired by http://stackoverflow.com/questions/11474397/component-from-joomla-2-5-to-joomla-3-0

Not sure if this fix compromises functionality...

Best regards, Jeff

Last Modified: 30 Oct 2015


Sergey
Total posts: 13,748
27 Oct 2015 12:05

Ok. Thank you.


Jeff VIP
Total posts: 745
29 Oct 2015 23:04

Sergey Ok. Thank you.

No worries. Could this fix be included in the next update?


Sergey
Total posts: 13,748
30 Oct 2015 03:56

Jeff

Sergey Ok. Thank you.

No worries. Could this fix be included in the next update?

It was.

Powered by Cobalt