Topic on Extension talk:BlogPage

"Cannot use object of type Comment as array"

3
Summary by Ciencia Al Poder
C veronesi horta (talkcontribs)

Hello, I'm testing the BlogPage extension with Mediawiki 1.29.0, PHP 5.5.14 and Comments 4.2.1.

Everytime I save a new article I get this fatal error:

[Fri Aug 25 10:19:23.682888 2017] [php5:error] [pid 60677] [client xxx.xxx.xxx.xxx:34360] PHP Fatal error:  Cannot use object of type Comment as array in /usr/local/mediawiki/testwiki/extensions/BlogPage/BlogPageClass.php on line 931, referer: http://xxx.xxx.xxx.xxx/index.php/Speciale:ArticlesHome

The article seems to be saved anyway but when I try to open it I get the same error.

Is my PHP version too old?

C veronesi horta (talkcontribs)

I fixed the problem by applying the solution indicated in the post below, i.e. disabling comments of the day.

223.101.0.110 (talkcontribs)

how?

Reply to ""Cannot use object of type Comment as array""