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

Panopto block settings page error #214

Open
thebandesz opened this issue Apr 30, 2024 · 6 comments
Open

Panopto block settings page error #214

thebandesz opened this issue Apr 30, 2024 · 6 comments

Comments

@thebandesz
Copy link

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
Copy link

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

  • When reporting a bug, it's recommended to give details regarding the following things:
    • Exact Moodle version (major and minor version, for example, 4.3.4)
    • Exact plugin version (2024012500 Release, which is the most recent one, now)
    • PHP version (The version that is installed on the Moodle server)

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
Copy link

jrchamp commented May 7, 2024

If the problem is in this plugin's code, then I would look here:

$ret->errormessage = $lasterror->getMessage();

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
Copy link
Author

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
Copy link

zeroAps commented Jul 11, 2024

@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
Copy link
Author

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
Copy link

acquaalta commented Aug 13, 2024

@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 [email protected] 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.

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

4 participants