Solved: ERROR: ErrorException : Array to string conversion

We have two websites, one which is developed with open classifieds and another with WordPress, since WordPress is always updating and recent versions of WordPress demands latest php version for security reasons. We had to update our PHP version from 5.6 to 7.0 for WordPress compatibility, but as we updated PHP version, our bootstrap based openclassifieds website stopped working with following error,

 ERROR: ErrorException [ 8 ]: Array to string conversion ~ APPPATH/common/modules/pagination/classes/kohana/pagination.php [ 121 ] in oc/kohana/system/classes/Kohana/Kohana/Exception.php:110

The solution for this error was to change line no. 121 from ./oc/common/modules/pagination/classes/kohana/pagination.php as below,

while (isset($config['group']) AND isset($config_file->$config['group']))

Change to as below by commenting code from “AND”

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )


while (isset($config['group']))

Reference :


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded