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/mydomain.com/theme/adaptable/lang/en/theme_adaptable.php?

    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 Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question