I have tried to reproduce such error in block_configurable_reports:
I know that it will throw when someone without permissions will try to access https://sandbox.lan/uniface_394/blocks/configurable_reports/viewreport.php?id=2 on mobile application.
[php7:notice] [pid 32565] Debugging: Invalid get_string() identifier: 'badpermissions' or component 'block_configurable_reports'. Perhaps you are missing $string['badpermissions'] = ''; in /opt/vhosts/learn.uniface.com/www/blocks/configurable_reports/lang/en/block_configurable_reports.php? in: * line 353 of /lib/classes/string_manager_standard.php: call to debugging()\n* line 7394 of /lib/moodlelib.php: call to core_string_manager_standard->get_string() * line 100 of /blocks/configurable_reports/classes/external.php: call to get_string() * line 1445 of /webservice/lib.php: call to block_configurable_reports\\external::get_report_data() * line 1291 of /webservice/lib.php: call to webservice_base_server->execute() * line 44 of /webservice/rest/server.php: call to webservice_base_server->run()
How can I use curl to open this page https://sandbox.lan/uniface_394/blocks/configurable_reports/viewreport.php?id=2 as mobile app?
Or is there any other way to replicate this?
In the attachment you can see the error from the page. It is different error.