MyBB Community Forums
Announcement Mod Error - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 Merge System Support (https://community.mybb.com/forum-141.html)
+------ Thread: Announcement Mod Error (/thread-123864.html)



Announcement Mod Error - djqwert - 2012-08-05

Link: http://www.bestgamers.it/forum/modcp.php?action=announcements
MyBB: 1.6.8

   

[PHP]	 	errorHandler->error
/inc/functions_modcp.php	73	in_array
/inc/functions_modcp.php	127	fetch_forum_announcements
/inc/functions_modcp.php	127	fetch_forum_announcements
/inc/functions_modcp.php	127	fetch_forum_announcements
/modcp.php	1218	fetch_forum_announcements
Warning [2] in_array() expects parameter 2 to be array, string given - Line: 73 - File: inc/functions_modcp.php PHP 5.3.10 (Linux)

Error file: functions_modcp.php and modcp.php

I have not modified these two files.
The error is only on that page.

Thanks


RE: Announcement Mod Error - Euan T - 2012-08-05

This is a known bug. Hopefully it'll be sorted in 1.6.9: http://dev.mybb.com/issues/2049


RE: Announcement Mod Error - djqwert - 2012-08-05

Ok, thanks for your answer.