Panopto / Moodle-2.0-plugin-for-Panopto

Panopto's integration with the Moodle LMS.
http://www.panopto.com
GNU General Public License v3.0
18 stars 38 forks source link

Panopto block settings page error #214

Open thebandesz opened 3 months ago

thebandesz commented 3 months ago

Clicking block settiongs option causes: Exception - Call to a member function getMessage() on null)

Many users experiencing this error, we can't figure out what causes, it seems random. Even some admin user experiencing this error. We tried deleting a user, then resyncing, but the error remains. There is no difference between users. For some it works, for some it doesn't. Even Admins.. panopto_button error_text

acquaalta commented 3 months ago

Hi @thebandesz, I'm NOT a maintainer of the plugin, just a user, so take my points below with a grain of salt. Anyway...

However, please note that you gave a full screenshot in report, and the specific system can be identified easily, so giving exact versions of systems and plugins may be problematic, security-wise.

jrchamp commented 3 months ago

If the problem is in this plugin's code, then I would look here: https://github.com/Panopto/Moodle-2.0-plugin-for-Panopto/blob/a05f8b6e3cf2dc1751c02a129fa33bbdd059cafd/lib/panopto_session_soap_client.php#L797

The private handle_error() method is designed to receive an error. In the class, that error comes from an array of errors with static strings for keys. If any one of those static strings is not 100% correct and an error occurs during the API call, then the method will be given null instead of an error object.

thebandesz commented 1 month ago

Dear @acquaalta Our moodle version is 4.1.10 (Build: 20240422), but we have this error since 4.1.5, panopto version is 2024012500, (also error with 2023091800) PHP Version 8.1.2-1ubuntu2.18

Since we are UpToDate with security patches i think i can share these.

Hi @jrchamp I am not sure i understand what you said. Can you help me how do i get an actual error message with the line you quoted? Or since we are getting null it means the API causing the error?

zeroAps commented 1 month ago

@thebandesz Please open up support ticket so we can take a deeper look into your specific case and determine the root cause. Thank you in advance.

thebandesz commented 5 days ago

zeroAps @thebandesz Please open up support ticket so we can take a deeper look into your specific case and determine the root cause. Thank you in advance.

I am sorry, can you guide me where to open a support ticket, I thought this page had this purpose.

acquaalta commented 5 days ago

Hן @thebandesz I'm NOT representative of Panopto or a maintainer of this plugin, but I guess that he means that you should send an e-mail to support@panopto.com or create a support ticket via another method that they offer in their support site.

Even if this is an official plugin of Panopto, to the best of my knowledge the guys here are maintainers of the plugin, and not the support team of Panopto. It's common that companies want to track issues like that in their support system.