Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String errors on clean install #265

Open
gjb2048 opened this issue Sep 3, 2023 · 1 comment
Open

String errors on clean install #265

gjb2048 opened this issue Sep 3, 2023 · 1 comment

Comments

@gjb2048
Copy link

gjb2048 commented Sep 3, 2023

Snap:

$plugin->version   = 2023073100;
$plugin->requires  = 2022112800;
$plugin->release   = '4.1.3';
$plugin->maturity  = MATURITY_STABLE;
$plugin->component = 'theme_snap';
$plugin->dependencies = [
    'theme_boost' => '2020110900'
];

Moodle:

$version  = 2022112805.03;              // 20221128      = branching date YYYYMMDD - do not modify!
                                        //         RR    = release increments - 00 in DEV branches.
                                        //           .XX = incremental changes.
$release  = '4.1.5+ (Build: 20230826)'; // Human-friendly version name
$branch   = '401';                     // This version's branch.
$maturity = MATURITY_STABLE;             // This version's maturity level.

Errors:

[02-Sep-2023 21:02:05 Europe/London] Debugging: Invalid get_string() identifier: 'gradebook' or component 'local_joulegrader'. Perhaps you are missing $string['gradebook'] = ''; in /lang/en/local_joulegrader.php? in 
* line 356 of \lib\classes\string_manager_standard.php: call to debugging()
* line 117 of \lib\external\externallib.php: call to core_string_manager_standard->get_string()
* line 261 of \lib\externallib.php: call to core_external::get_string()
* line 81 of \lib\ajax\service.php: call to external_api::call_external_function()
* line 33 of \lib\ajax\service-nologin.php: call to require_once()

[02-Sep-2023 21:02:05 Europe/London] Debugging: Invalid get_string() identifier: 'outcomes' or component 'core_outcome'. Perhaps you are missing $string['outcomes'] = ''; in lang/en/core_outcome.php? in 
* line 356 of \lib\classes\string_manager_standard.php: call to debugging()
* line 117 of \lib\external\externallib.php: call to core_string_manager_standard->get_string()
* line 261 of \lib\externallib.php: call to core_external::get_string()
* line 81 of \lib\ajax\service.php: call to external_api::call_external_function()
* line 33 of \lib\ajax\service-nologin.php: call to require_once()

[02-Sep-2023 21:02:05 Europe/London] Debugging: Invalid get_string() identifier: 'coursereport' or component 'report_allylti'. Perhaps you are missing $string['coursereport'] = ''; in /lang/en/report_allylti.php? in 
* line 356 of \lib\classes\string_manager_standard.php: call to debugging()
* line 117 of \lib\external\externallib.php: call to core_string_manager_standard->get_string()
* line 261 of \lib\externallib.php: call to core_external::get_string()
* line 81 of \lib\ajax\service.php: call to external_api::call_external_function()
* line 33 of \lib\ajax\service-nologin.php: call to require_once()

[02-Sep-2023 21:02:05 Europe/London] Debugging: Invalid get_string() identifier: 'pluginname' or component 'local_catalogue'. Perhaps you are missing $string['pluginname'] = ''; in /lang/en/local_catalogue.php? in 
* line 356 of \lib\classes\string_manager_standard.php: call to debugging()
* line 117 of \lib\external\externallib.php: call to core_string_manager_standard->get_string()
* line 261 of \lib\externallib.php: call to core_external::get_string()
* line 81 of \lib\ajax\service.php: call to external_api::call_external_function()
* line 33 of \lib\ajax\service-nologin.php: call to require_once()

[02-Sep-2023 21:02:05 Europe/London] Debugging: Invalid get_string() identifier: 'experimental' or component 'block_reports'. Perhaps you are missing $string['experimental'] = ''; in /lang/en/block_reports.php? in 
* line 356 of \lib\classes\string_manager_standard.php: call to debugging()
* line 117 of \lib\external\externallib.php: call to core_string_manager_standard->get_string()
* line 261 of \lib\externallib.php: call to core_external::get_string()
* line 81 of \lib\ajax\service.php: call to external_api::call_external_function()
* line 33 of \lib\ajax\service-nologin.php: call to require_once()

[02-Sep-2023 21:02:13 Europe/London] PHP Fatal error:  Out of memory (allocated 23068672) (tried to allocate 270336 bytes) in F:\moodledev\moodle41\theme\snap\classes\local.php on line 37

Therefore the code does not properly check to see if the plugins are there, it only (I think) relies on the setting being set (the default).

@gjb2048
Copy link
Author

gjb2048 commented Oct 1, 2024

Still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant