Lucas James Posted March 18, 2023 Posted March 18, 2023 (edited) Hi, I cannot view modcp. This occurred when I updated to 4.7 and now also 4.8. TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given (0) #0 /home/kdotgg/public_html/forum/applications/core/sources/Reports/Report.php(223): in_array('IPS\\Content\\Com...', false) #1 /home/kgdotgg/public_html/forum/system/Helpers/Table/Content.php(564): IPS\core\Reports\_Report::tableGetRows(Array) #2 /home/kgdotgg/public_html/forum/system/Helpers/Table/Table.php(504): IPS\Helpers\Table\_Content->getRows(Array) #3 /home/kgdotgg/public_html/forum/applications/core/extensions/core/ModCp/Reports.php(136): IPS\Helpers\Table\_Table->__toString() #4 /home/kgdotgg/public_html/forum/applications/core/modules/front/modcp/modcp.php(114): IPS\core\extensions\core\ModCp\_Reports->manage() #5 /home/kgdotgg/public_html/forum/system/Dispatcher/Controller.php(118): IPS\core\modules\front\modcp\_modcp->manage() #6 /home/kgdotgg/public_html/forum/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #7 /home/kgdotgg/public_html/forum/index.php(13): IPS\_Dispatcher->run() #8 {main} I have tried creating a fresh default theme, fixing any php plugin errors and disabling all apps and plugins with no success. Any ideas? Thanks Edited March 18, 2023 by Lucas James
Recommended Posts