GithubHelp home page GithubHelp logo

moodle-mod_taskchain's People

Contributors

eviweb avatar gbateson avatar ped22 avatar sk-unikent avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

moodle-mod_taskchain's Issues

Fatal error: Access to undeclared static property

I am using moodle and it is working fine in my local server having php 5.4 , but when I upload it on server having php 5.5 it show this error. I don't know weather its a php version problem or anything else. I am not able to find the root of the problem.

Fatal error: Access to undeclared static property: mod_taskchain_attempt_hp_6_renderer::$this in mod/taskchain/attempt/hp/6/rhubarb/renderer.php on line 200

Creation/Editing Taskchain (49) and Moodle 3.3+

Hi Gordon,

We have been using your plugin for a long time now and I recently completed an upgrade from 3.2 to 3.3.1 including an update of taskchain to (49) which is outlined as 3.3 compatible.

The owner of the website indicates that while existing content works fine. Creating/Editing content is no longer functional.

I have narrowed this down to newly added code in Moodle 3.3 that was not present in 3.2. Please note that this is just a basic code review but I believe this is at least one point where taskchain and moodle are failing to work together.

LOG FILE
`2017/08/29 00:22:37 [error] 25111#25111: *2165648 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to get property of non-object in /www/degrama/englishlab1.com/htdocs/mod/taskchain/edit/form/helper/record.php on line 905
PHP message: Default exception handler: Coding error detected, it must be fixed by a programmer: Invalid context id specified context::instance_by_id() Debug:
Error code: codingerror

  • line 5165 of /lib/accesslib.php: coding_exception thrown
  • line 956 of /lib/filelib.php: call to context::instance_by_id()
  • line 905 of /mod/taskchain/edit/form/helper/record.php: call to file_save_draft_area_files()
  • line 862 of /mod/taskchain/edit/form/helper/record.php: call to taskchain_form_helper_record->fix_template_filearea()
  • line 1640 of /mod/taskchain/edit/form/helper/base.php: call to taskchain_form_helper_record->fix_field_sourcefile()
  • line 1611 of /mod/taskchain/edit/form/helper/base.php: call to taskchain_form_helper_base->fix_field()
  • line 1592 of /mod/taskchain/edit/form/helper/base.php: call to taskchain_form_helper_base->fix_section()
  • line 84 of /mod/taskchain/mod_form.php: call to taskchain_form_helper_base->fix_sections()
  • line 1102 of /course/moodleform_mod.php: call to mod_taskchain_mod_form" while reading response header from upstream, client: 64.114.30.66, server: englishlab1.com, request: "POST /course/modedit.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "englishlab1.com", referrer: "https://englishlab1.com/course/modedit.php?add=taskchain&type=&course=18&section=1&return=0&sr=0"`

REVIEW OF /lib/filelib.php
https://fossies.org/diffs/moodle/3.2.3_vs_3.3/lib/filelib.php-diff.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.