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

Moodle and PHP deprecations #15

Open
haietza opened this issue Jul 23, 2021 · 0 comments
Open

Moodle and PHP deprecations #15

haietza opened this issue Jul 23, 2021 · 0 comments

Comments

@haietza
Copy link

haietza commented Jul 23, 2021

The following errors were in the logs after testing the plugin version 2016041900 on Moodle 3.10.5+ with PHP 7.4.21. The plugin still appears to work, but wanted to make sure you were aware of these deprecations. Thanks!

PHP Notice: forum_print_discussion() has been deprecated, please use \mod_forum\local\renderers\discussion instead.

  • line 434 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_print_post_start() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 601 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 512 of /mod/forum/deprecatedlib.php: call to forum_print_post_start()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_should_start_post_nesting() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 557 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 604 of /mod/forum/deprecatedlib.php: call to forum_should_start_post_nesting()
  • line 512 of /mod/forum/deprecatedlib.php: call to forum_print_post_start()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_post_nesting_cache() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 543 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 558 of /mod/forum/deprecatedlib.php: call to forum_post_nesting_cache()
  • line 604 of /mod/forum/deprecatedlib.php: call to forum_should_start_post_nesting()
  • line 512 of /mod/forum/deprecatedlib.php: call to forum_print_post_start()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_print_post() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 681 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 513 of /mod/forum/deprecatedlib.php: call to forum_print_post()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_print_posts_nested() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 1286 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 528 of /mod/forum/deprecatedlib.php: call to forum_print_posts_nested()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_print_post_end() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 629 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 531 of /mod/forum/deprecatedlib.php: call to forum_print_post_end()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Notice: forum_should_end_post_nesting() has been deprecated, please use \mod_forum\local\renderers\posts instead.

  • line 577 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 632 of /mod/forum/deprecatedlib.php: call to forum_should_end_post_nesting()
  • line 531 of /mod/forum/deprecatedlib.php: call to forum_print_post_end()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262
PHP Notice: forum_post_nesting_cache() has been deprecated, please use \mod_forum\local\renderers\posts instead.
  • line 543 of /mod/forum/deprecatedlib.php: call to debugging()
  • line 578 of /mod/forum/deprecatedlib.php: call to forum_post_nesting_cache()
  • line 632 of /mod/forum/deprecatedlib.php: call to forum_should_end_post_nesting()
  • line 531 of /mod/forum/deprecatedlib.php: call to forum_print_post_end()
  • line 116 of /blocks/export_forum/lib.php: call to forum_print_discussion()
  • line 163 of /blocks/export_forum/lib.php: call to ExportForumPDF->get_discussion_content()
  • line 38 of /blocks/export_forum/lib.php: call to ExportForumDiscussionPDF->get_content()
  • line 48 of /blocks/export_forum/export.php: call to ExportForumPDF->__construct()
in /var/www/html/lib/weblib.php on line 3262

PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/blocks/export_forum/mpdf/mpdf.php on line 8898

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