Cyberg Studio AS Posted January 21 Posted January 21 (edited) Hi there folks. Im running Invision Community v4.7.14 Lately, I have been encountering an EX0 error while trying to access the Articles section of my website. This error appears on both the front-end menu and the PAGES menu items in the ACP. As soon as I enter the Content Databases, the EX0 error message appears, affecting all underlying tabs related to Articles. However, the "Page Management" menu seems unaffected. I have installed some opentype plugins, namely SuperTopics, Pages SuperGallery, SuperGrid, and Sticky Contact Us Button. These plugins seem to have stopped working or at least affected by the error. I have tried disabling all customization and clearing system caches, but it did not resolve the issue. I have also attempted to uninstall and reinstall the plugins but to no avail. I need some help with this folks. ############# When I go to Articles from the Front-End Menu TECHNICAL DETAILS Error: Call to undefined method IPS\Lang::recordWord() (0) #0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(128): IPS\cms\_Databases->recordWord(2) #1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(244): IPS\Theme\class_cms_database_supergrid_categorylisting->categoryRow(Object(IPS\cms\Categories1)) #2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/front/database/index.php(155): IPS\Theme\class_cms_database_supergrid_categorylisting->index(Object(IPS\cms\Databases), Array, Object(IPS\Http\Url\Friendly)) #3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/front/database/index.php(51): IPS\cms\modules\front\database\_index->view() #4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\database\_index->manage() #5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Dispatcher.php(343): IPS\Dispatcher\_Controller->execute() #6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/widgets/Database.php(128): IPS\cms\Databases\_Dispatcher->run() #7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Pages/Page.php(1321): IPS\cms\widgets\_Database->render() #8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Pages/Page.php(2301): IPS\cms\Pages\_Page->getWidgets() #9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output() #10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage() #12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute() #14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/index.php(13): IPS\_Dispatcher->run() #15 {main} These details only show because you are logged in as an administrator. You can view them again later in the System Logs section of the AdminCP. CONTENT Databases Error: Call to undefined method IPS\Lang::recordWord() (0) #0 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(879): IPS\cms\_Databases->recordWord(1) #1 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(271): IPS\cms\_Databases->preLoadWords() #2 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Patterns/ActiveRecord.php(148): IPS\cms\_Databases::constructFromData(Array) #3 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/databases.php(83): IPS\Patterns\_ActiveRecord::load(1) #4 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Helpers/Table/Db.php(444): IPS\cms\modules\admin\databases\_databases->IPS\cms\modules\admin\databases\{closure}('Articles', Array) #5 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Helpers/Table/Table.php(504): IPS\Helpers\Table\_Db->getRows(Array) #6 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/databases.php(231): IPS\Helpers\Table\_Table->__toString() #7 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Controller.php(118): IPS\cms\modules\admin\databases\_databases->manage() #8 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/databases.php(44): IPS\Node\_Controller->execute() #10 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\databases\_databases->execute() #11 /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/boss/index.php(13): IPS\_Dispatcher->run() #12 {main} ARTICLES Articles Error: Call to undefined method IPS\Lang::recordWord() (0) #0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(879): IPS\cms\_Databases->recordWord(1) #1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(271): IPS\cms\_Databases->preLoadWords() #2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Patterns/ActiveRecord.php(148): IPS\cms\_Databases::constructFromData(Array) #3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/records.php(61): IPS\Patterns\_ActiveRecord::load('1') #4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Controller.php(107): IPS\cms\modules\admin\databases\_records->manage() #5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/records.php(42): IPS\Dispatcher\_Controller->execute() #6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\databases\_records->execute() #7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/boss/index.php(13): IPS\_Dispatcher->run() #8 {main} Categories Error: Call to undefined method IPS\Lang::recordWord() (0) #0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(879): IPS\cms\_Databases->recordWord(1) #1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(271): IPS\cms\_Databases->preLoadWords() #2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(216): IPS\cms\_Databases::constructFromData(Array) #3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/Application.php(129): IPS\cms\_Databases::databases() #4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/categories.php(60): IPS\_Application::IPS\cms\{closure}('IPS\\cms\\Categor...') #5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\databases\_categories->execute() #6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/boss/index.php(13): IPS\_Dispatcher->run() #7 {main} Fields Error: Call to undefined method IPS\Lang::recordWord() (0) #0 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(879): IPS\cms\_Databases->recordWord(1) #1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Databases/Databases.php(271): IPS\cms\_Databases->preLoadWords() #2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Patterns/ActiveRecord.php(148): IPS\cms\_Databases::constructFromData(Array) #3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Fields/Fields.php(1687): IPS\Patterns\_ActiveRecord::load(1) #4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Node/Model.php(1409): IPS\cms\_Fields->canDelete() #5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/sources/Fields/Fields.php(1616): IPS\Node\_Model->getButtons(Object(IPS\Http\Url\Internal), false) #6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Node/Controller.php(206): IPS\cms\_Fields->getButtons(Object(IPS\Http\Url\Internal), false) #7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/fields.php(125): IPS\Node\_Controller->_getRow(1) #8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Helpers/Tree/Tree.php(130): IPS\cms\modules\admin\databases\_fields->_getRoots(NULL) #9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Node/Controller.php(99): IPS\Helpers\Tree\_Tree->__toString() #10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/fields.php(65): IPS\Node\_Controller->manage() #11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Controller.php(107): IPS\cms\modules\admin\databases\_fields->manage() #12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/applications/cms/modules/admin/databases/fields.php(49): IPS\Node\_Controller->execute() #14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\databases\_fields->execute() #15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/httpd.www/boss/index.php(13): IPS\_Dispatcher->run() #16 {main} Best regards Edited January 21 by Cyberg Studio AS
Adriano Faria Posted January 21 Posted January 21 You probably left the record title blank in the database settings. You said you can’t access the database configuration (edit the database)?
Cyberg Studio AS Posted January 21 Author Posted January 21 (edited) When I try to +CREATE a db It just adds these menu's - Menu_CMS_database 5 and 6 Edited January 21 by Cyberg Studio AS
Stuart Silvester Posted January 21 Posted January 21 It's sounds like you've somehow deleted the hooks.php file. Disable and rename the pages app to regenerate it
Cyberg Studio AS Posted January 21 Author Posted January 21 24 minutes ago, Stuart Silvester said: Disable and rename the pages app to regenerate it ...and where exactly do I rename the pages app? in applications\cms\modules\admin folder?
Stuart Silvester Posted January 22 Posted January 22 10 hours ago, Cyberg Studio AS said: ...and where exactly do I rename the pages app? in applications\cms\modules\admin folder? Sorry, that was auto correct. Disable and re-enable the Pages app on the applications page
Cyberg Studio AS Posted January 22 Author Posted January 22 4 hours ago, Stuart Silvester said: Sorry, that was auto correct. Disable and re-enable the Pages app on the applications page That I have done several times, and when I have I have also cleared the system caches. You mention that I might have deleted the hooks.php file(?) that file is populated and "active" in the /plugins/ folder and looks like this: <?php return array ( '\\IPS\\Http\\Url\\Internal' => array ( 1 => array ( 'file' => 'applications/cms/hooks/InternalUrl.php', 'class' => 'cms_hook_InternalUrl', ), ), '\\IPS\\forums\\Forum' => array ( 2 => array ( 'file' => 'applications/cms/hooks/Forum.php', 'class' => 'cms_hook_Forum', ), 19 => array ( 'file' => 'applications/downloads/hooks/Forums.php', 'class' => 'downloads_hook_Forums', ), ), '\\IPS\\forums\\modules\\admin\\forums\\forums' => array ( 3 => array ( 'file' => 'applications/cms/hooks/forums.php', 'class' => 'cms_hook_forums', ), 22 => array ( 'file' => 'applications/downloads/hooks/Forum.php', 'class' => 'downloads_hook_Forum', ), ), '\\IPS\\Http\\Url' => array ( 4 => array ( 'file' => 'applications/cms/hooks/Url.php', 'class' => 'cms_hook_Url', ), ), '\\IPS\\Text\\Parser' => array ( 5 => array ( 'file' => 'applications/cms/hooks/Parser.php', 'class' => 'cms_hook_Parser', ), ), '\\IPS\\forums\\Topic\\Post' => array ( 6 => array ( 'file' => 'applications/cms/hooks/Post.php', 'class' => 'cms_hook_Post', ), ), '\\IPS\\Theme\\class_forums_front_topics' => array ( 7 => array ( 'file' => 'applications/cms/hooks/topics.php', 'class' => 'cms_hook_topics', ), ), '\\IPS\\Lang' => array ( 8 => array ( 'file' => 'applications/cms/hooks/Lang.php', 'class' => 'cms_hook_Lang', ), ), '\\IPS\\Data\\Store\\Database' => array ( 9 => array ( 'file' => 'applications/cms/hooks/Database.php', 'class' => 'cms_hook_Database', ), 24 => array ( 'file' => 'applications/nexus/hooks/clientAreaLinkLoad.php', 'class' => 'nexus_hook_clientAreaLinkLoad', ), 27 => array ( 'file' => 'applications/nexus/hooks/Database.php', 'class' => 'nexus_hook_Database', ), ), '\\IPS\\Widget' => array ( 10 => array ( 'file' => 'applications/cms/hooks/Widget.php', 'class' => 'cms_hook_Widget', ), ), '\\IPS\\forums\\Topic' => array ( 11 => array ( 'file' => 'applications/cms/hooks/Topic.php', 'class' => 'cms_hook_Topic', ), ), '\\IPS\\Http\\Url\\Friendly' => array ( 12 => array ( 'file' => 'applications/cms/hooks/FriendlyUrl.php', 'class' => 'cms_hook_FriendlyUrl', ), ), '\\IPS\\Output' => array ( 13 => array ( 'file' => 'applications/cms/hooks/Output.php', 'class' => 'cms_hook_Output', ), ), '\\IPS\\forums\\api\\forums' => array ( 14 => array ( 'file' => 'applications/cms/hooks/apiForum.php', 'class' => 'cms_hook_apiForum', ), 23 => array ( 'file' => 'applications/downloads/hooks/apiForum.php', 'class' => 'downloads_hook_apiForum', ), ), '\\IPS\\Login\\Handler' => array ( 15 => array ( 'file' => 'applications/convert/hooks/LoginHandler.php', 'class' => 'convert_hook_LoginHandler', ), ), '\\IPS\\Text\\LegacyParser' => array ( 16 => array ( 'file' => 'applications/convert/hooks/LegacyParser.php', 'class' => 'convert_hook_LegacyParser', ), ), '\\IPS\\Db' => array ( 17 => array ( 'file' => 'applications/convert/hooks/Db.php', 'class' => 'convert_hook_Db', ), ), '\\IPS\\Dispatcher\\Front' => array ( 18 => array ( 'file' => 'applications/convert/hooks/FrontDispatcher.php', 'class' => 'convert_hook_FrontDispatcher', ), ), '\\IPS\\nexus\\Package\\Item' => array ( 20 => array ( 'file' => 'applications/downloads/hooks/nexusPackage.php', 'class' => 'downloads_hook_nexusPackage', ), ), '\\IPS\\core\\modules\\front\\modcp\\modcp' => array ( 21 => array ( 'file' => 'applications/downloads/hooks/frontModcp.php', 'class' => 'downloads_hook_frontModcp', ), ), '\\IPS\\core\\modules\\front\\system\\register' => array ( 25 => array ( 'file' => 'applications/nexus/hooks/register.php', 'class' => 'nexus_hook_register', ), ), '\\IPS\\Theme\\class_core_front_global' => array ( 26 => array ( 'file' => 'applications/nexus/hooks/clientAreaLink.php', 'class' => 'nexus_hook_clientAreaLink', ), ), '\\IPS\\Dispatcher\\Admin' => array ( 28 => array ( 'file' => 'applications/nexus/hooks/DispatcherAdmin.php', 'class' => 'nexus_hook_DispatcherAdmin', ), ), );
Marc Posted January 22 Posted January 22 I have created a ticket on this for you so we can take a closer look
Stuart Silvester Posted January 22 Posted January 22 This was caused by the RECOVERY_MODE constant being set incorrectly. Removed that from constants.php and everything is working 🙂
Cyberg Studio AS Posted January 22 Author Posted January 22 1 hour ago, Stuart Silvester said: This was caused by the RECOVERY_MODE constant being set incorrectly. Removed that from constants.php and everything is working 🙂 Are you serious now? this is embarrassing .·´¯`(>▂<)´¯`·. thank you so much for the help - you guys 🤩
Cyberg Studio AS Posted January 22 Author Posted January 22 <?php /* https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/ */ //\define( 'USE_DEVELOPMENT_BUILDS','' ); \define('CP_DIRECTORY','xxxx'); \define('COOKIE_PREFIX','xxxxx_'); //\define ('RECOVERY_MODE',''); <--- This was not commented out as it is now!!! ?> ...in case someone else do stupid stuff like I did, this is what caused the issue 😄
Jim M Posted January 22 Posted January 22 No worries. We've all been there 😉 If you haven't already and are leaving the RECOVERY_MODE commented out, I'd advise implementing RECOVERY_MODE correctly. Just in case you need it one day so you don't run into this again. Cyberg Studio AS 1
Recommended Posts