donhinkelman / moodle-block_sharing_cart

Content sharing plug-in for Moodle LMS. Now at version 4.4, release 3 (actually this is for Moodle LMS version 4.3. Requires PHP 7.4.
8 stars 38 forks source link

Exception Call to a member function get_tasks() on null #101

Closed truesh324 closed 3 years ago

truesh324 commented 3 years ago

We are getting the following error with sharing cart in Moodle 3.10

I think this is similar to other issues. https://github.com/donhinkelman/moodle-block_sharing_cart/issues/97

Shawn Trueman Moodle Admin - Denver Seminary

truesh324 commented 3 years ago

sharing cart error

donhinkelman commented 3 years ago

Thank you, Shawn, for reporting this error message. Could you confirm that this occured with the latest release of Sharing Cart 3.10 release 3, either from Github or Plugins Database?

truesh324 commented 3 years ago

Don – We do have newest version. @.***D76E64.B63F5DB0]

Our host, Elearning Experts will be completely uninstalling and reinstalling the plugin today to see if the error might correct.

Your servant,

Shawn Trueman, M.A., M.M., LPCC

Director of Educational Technology Denver Seminary 6399 South Santa Fe Drive, Littleton, CO 80120 (O) 303.762.6959 (C) 817.995.6760

Please note my regular office hours: Monday: 7a-4p Tuesday: 8a-5p Wednesday: 8a-5p Thursday: 8a-5p Friday: Out of Office Saturday – Technical Support as Needed ~ Strengths Finder: Belief, Achiever, Responsibility, Harmony, Relator

Christians desire more theological training, but they struggle to fit it into their demanding lives. We offer accessible, quality, fully-online programshttps://denverseminary.edu/academics/fully-online-degrees/, so they can become equipped for service and transformed by God.

From: Don Hinkelman @.> Sent: Tuesday, June 29, 2021 6:40 PM To: donhinkelman/moodle-block_sharing_cart @.> Cc: Trueman, Shawn @.>; Author @.> Subject: Re: [donhinkelman/moodle-block_sharing_cart] Exception Call to a member function get_tasks() on null (#101)

Thank you, Shawn, for reporting this error message. Could you confirm that this occured with the latest release of Sharing Cart 3.10 release 3, either from Github or Plugins Database?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/donhinkelman/moodle-block_sharing_cart/issues/101#issuecomment-871013381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEC3SDK53SJSN4N3YGBQTTVJRXFANCNFSM46V7PXBA.

abias commented 3 years ago

Running Moodle core 3.9.8, I was seeing this rhis fatal error with block_sharing_cart 3.10, release 3 for some days now. After some investigation, I found that the reason was a local configuration change some days ago which let the plugin fail.

I have submitted a fix in #106 and assume that this PR will solve this ticket here as well.

truesh324 commented 3 years ago

Greetings - Wondering if there is a timeline for the correction of this issue. I would like to be able to communicate with our users as to when we will be up and running. We use sharing cart often for exams and we are beginning to prep for mid terms. Thanks.

truesh324 commented 3 years ago

Greetings - I am wondering when this issue might be corrected. We really miss the Sharing Cart.

Thanks.

donhinkelman commented 3 years ago

Alex fixed this issue and I merged the pull request. So it should have be solved in Github. Are you downloading the block from GitHub or Moodle Plugins database?

Don

On Sep 22, 2021, at 6:19, truesh324 @.***> wrote:

Greetings - I am wondering when this issue might be corrected. We really miss the Sharing Cart.

Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/donhinkelman/moodle-block_sharing_cart/issues/101#issuecomment-924392492, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCQQRVMN6UZUPQDMEPWSNDUDDZGFANCNFSM46V7PXBA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

abias commented 3 years ago

@truesh324 ,

I was seeing basically the same error on my site, tracked it down, saw a problem with sites which use the $CFG->backuptempdir configuration and submitted #106 to fix this.

This issue here is still open and would need some confirmation from you if #106 fixed the issue or if some other problem causes this on your site.

However, as @donhinkelman wrote, this fix isn't published officially on https://moodle.org/plugins/block_sharing_cart/versions yet. The official versions are somehow lagging behind currently. Please test the latest version here on Github to see if this issue is fixed for you or not.

If it is fixed, this issue can be closed. And if you can't use the Github version directly, you can apply the patch from https://github.com/donhinkelman/moodle-block_sharing_cart/pull/106/files on your site for the time being.

Cheers, Alex

truesh324 commented 3 years ago

Thanks Alex and Don for this information. I will try to download from github, but I’ve not done that before. Is this the process?

  1. Click the green “code” button
  2. Select download ZIP
  3. Save file “moodle-block_sharing_cart-master”
  4. Then unzip and rename to “moodle-block_sharing_cart”
  5. Upload to Moodle

Your servant,

Shawn Trueman, M.A., M.M., LPCC

Director of Educational Technology Denver Seminary 6399 South Santa Fe Drive, Littleton, CO 80120 (O) 303.762.6959 (C) 817.995.6760

Please note my regular office hours: Monday: 7a-4p Tuesday: 8a-5p Wednesday: 8a-5p Thursday: 8a-5p Friday: Out of Office Saturday – Technical Support as Needed ~ Strengths Finder: Belief, Achiever, Responsibility, Harmony, Relator

Christians desire more theological training, but they struggle to fit it into their demanding lives. We offer accessible, quality, fully-online programshttps://denverseminary.edu/academics/fully-online-degrees/, so they can become equipped for service and transformed by God.

From: Alexander Bias @.> Sent: Tuesday, September 21, 2021 11:11 PM To: donhinkelman/moodle-block_sharing_cart @.> Cc: Trueman, Shawn @.>; Mention @.> Subject: Re: [donhinkelman/moodle-block_sharing_cart] Exception Call to a member function get_tasks() on null (#101)

@truesh324https://github.com/truesh324 ,

I was seeing basically the same error on my site, tracked it down, saw a problem with sites which use the $CFG->backuptempdir configuration and submitted #106https://github.com/donhinkelman/moodle-block_sharing_cart/pull/106 to fix this.

This issue here is still open and would need some confirmation from you if #106https://github.com/donhinkelman/moodle-block_sharing_cart/pull/106 fixed the issue or if some other problem causes this on your site.

However, as @donhinkelmanhttps://github.com/donhinkelman wrote, this fix isn't published officially on https://moodle.org/plugins/block_sharing_cart/versions yet. The official versions are somehow lagging behind currently. Please test the latest version here on Github to see if this issue is fixed for you or not.

If it is fixed, this issue can be closed. And if you can't use the Github version directly, you can apply the patch from https://github.com/donhinkelman/moodle-block_sharing_cart/pull/106/files on your site for the time being.

Cheers, Alex

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/donhinkelman/moodle-block_sharing_cart/issues/101#issuecomment-924589419, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEC3VVXTGBH4AGKQSE7OLUDFQNNANCNFSM46V7PXBA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

abias commented 3 years ago

Hi @truesh324 ,

I would rephrase your steps 4 and 5 to:

  1. Then unzip the downloaded ZIP file and rename the resulting folder to “sharing_cart”
  2. Place the folder into the "blocks" directory of Moodle

Apart from that, you got the general process right. Good luck!

Cheers, Alex

truesh324 commented 3 years ago

Thanks so much for your work on this plugin.

It is installed and functioning properly now for us.

Your servant,

Shawn Trueman, M.A., M.M., LPCC

Director of Educational Technology Denver Seminary 6399 South Santa Fe Drive, Littleton, CO 80120 (O) 303.762.6959 (C) 817.995.6760

Please note my regular office hours: Monday: 7a-4p Tuesday: 8a-5p Wednesday: 8a-5p Thursday: 8a-5p Friday: Out of Office Saturday – Technical Support as Needed ~ Strengths Finder: Belief, Achiever, Responsibility, Harmony, Relator

Christians desire more theological training, but they struggle to fit it into their demanding lives. We offer accessible, quality, fully-online programshttps://denverseminary.edu/academics/fully-online-degrees/, so they can become equipped for service and transformed by God.

From: Alexander Bias @.> Sent: Tuesday, September 28, 2021 1:27 PM To: donhinkelman/moodle-block_sharing_cart @.> Cc: Trueman, Shawn @.>; Mention @.> Subject: Re: [donhinkelman/moodle-block_sharing_cart] Exception Call to a member function get_tasks() on null (#101)

Hi @truesh324https://github.com/truesh324 ,

I would rephrase your steps 4 and 5 to:

  1. Then unzip the downloaded ZIP file and rename the resulting folder to “sharing_cart”
  2. Place the folder into the "blocks" directory of Moodle

Apart from that, you got the general process right. Good luck!

Cheers, Alex

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/donhinkelman/moodle-block_sharing_cart/issues/101#issuecomment-929557346, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHNEC3UYYS4OFK5O23ANW53UEIJGTANCNFSM46V7PXBA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

abias commented 3 years ago

Thank you for confirming that the latest version fixed this issue for you.

@donhinkelman , regardless of the fact that an official release on https://moodle.org/plugins/block_sharing_cart/versions with the latest fixes is still pending, this issue could then be closed.

donhinkelman commented 3 years ago

To Shawn, (>> It is installed and functioning properly now for us.). Thank you for doing this testing, because I did not have the time to properly test it, and now I feel confident to make an official release on the Moodle Plugins database. Your contribution helps make Moodle grow. And thank you, Alex for coaching Shawn as we have to help each other in so many ways. I will close this issue and proceed with a new release.