Solved Moodle Error : Invalid get-string() identifier

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.
EASILY Add ZIL To Your Metamask Wal... x
EASILY Add ZIL To Your Metamask Wallet

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system 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, Debugging and Performance Tools Development and Build 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 NDK / Middleware / HAL Operating System 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 Embedded Linux