Quantcast
Channel: Assignment
Viewing all articles
Browse latest Browse all 9454

Coding error detected, it must be fixed by a programmer: PHP

$
0
0
by Alan Cherwinski.  

Moodle2.7.1 (Build: 20140714)

LAMP

Essential Course Theme.

After successfully uploading/submitting a .docx file to an assignment the following message is displayed after the final submission.


Coding error detected, it must be fixed by a programmer: PHP

catchable fatal error

Debug info: Argument 1 passed to user_picture::__construct() must be an instance of stdClass, boolean given, called in [dirroot]/theme/essential/renderers/core_renderer.php on line 343 and defined
Error code: codingerror

Stack trace: •line 393 of /lib/setuplib.php: coding_exception thrown
•line 183 of /lib/outputcomponents.php: call to default_error_handler()
•line 343 of /theme/essential/renderers/core_renderer.php: call to user_picture->__construct()
•line 153 of /theme/essential/layout/includes/header.php: call to theme_essential_core_renderer->custom_menu_messages()
•line 27 of /theme/essential/layout/columns3.php: call to require_once()
•line 877 of /lib/outputrenderers.php: call to include()
•line 807 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
•line 226 of /mod/assign/renderer.php: call to core_renderer->header()
•line 221 of /lib/outputrenderers.php: call to mod_assign_renderer->render_assign_header()
•line 3987 of /mod/assign/locallib.php: call to plugin_renderer_base->render()
•line 540 of /mod/assign/locallib.php: call to assign->view_submission_page()
•line 53 of /mod/assign/view.php: call to assign->view()



Viewing all articles
Browse latest Browse all 9454

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>