Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
nextgen
Worker
Worker



Joined: Sep 28, 2006
Posts: 241

PostPosted: Sat Aug 06, 2022 11:10 am Reply with quote

On the index page of the forum i am getting a at the top of the board. I am using the fisubice theme, the raven master file set from github. Here is the exact warning.

Code:
Warning: count(): Parameter must be an array or an object that implements Countable


The line in question is
Code:
if (count($forum_moderators[$forum_id]) > 0 )


It is coming directly from the modules/forum/index

_________________
alterednuke.com Your source for Ravennuke themes. 
View user's profile Send private message Send e-mail
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

PostPosted: Wed Aug 10, 2022 10:00 am Reply with quote

This line was a part of the index.php inside the Forums module but it is already fixed and it doesn't exist anymore in the current master branch. Please compare it. I guess you have overwritten the core-file now you are using a old modified version.

https://github.com/neralex/RavenNuke/blob/master/html/modules/Forums/index.php#L518

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©