How to resolve error in moodle : Invalid get_string() identifier: ‘searchboxpaddingtop’ or component ‘theme_adaptable’. Perhaps you are missing $string[‘searchboxpaddingtop’] = ”; in

Sometime if you login to moodle as administrator, and tries to browse the admin pages, you might see error like below in admin dashboard,

Invalid get_string() identifier: 'searchboxpaddingtop' or component 'theme_adaptable'. Perhaps you are missing $string['searchboxpaddingtop'] = ''; in /home/myhosting/public_html/

    line 349 of /lib/classes/string_manager_standard.php: call to debugging()
    line 7081 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
    line 195 of /theme/adaptable/settings/header.php: call to get_string()
    line 43 of /theme/adaptable/settings.php: call to include()
    line 51 of /admin/settings/appearance.php: call to include()
    line 8002 of /lib/adminlib.php: call to require()
    line 7889 of /lib/adminlib.php: call to admin_get_root()
    line 48 of /admin/purgecaches.php: call to admin_externalpage_setup()

Solution : you need to purge the caches, as following,

1. go to “Administration”
2. click “site administration”
3. click “Development”
4. click “Purge All Cache”
5. you will be redirected to “admin/purgecaches.php” page, which will have “Purge All Cache” button.
6. click on this “Purge All Cache” button.

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Core Kernel C Programs Development Environment Setup Documents / Books Errors & Failures File Systems Framebuffer / Display Driver git Go Language Programs Hardware Platforms Home JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Procfs Filesystem Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply