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

Not able to edit individual blocks on Moodle LMS 4.2 onwards #112

Open
dcombes opened this issue Aug 28, 2024 · 3 comments
Open

Not able to edit individual blocks on Moodle LMS 4.2 onwards #112

dcombes opened this issue Aug 28, 2024 · 3 comments

Comments

@dcombes
Copy link

dcombes commented Aug 28, 2024

Similar to open issue #104 on Workplace, we have just upgraded our Moodle LMS to 4.4 from 3.9, and can't edit any individual block within a Multiblock block. All we get is a blank screen and HTTP error 500.

Any ideas?
Is there a plan to release an update for versions beyond 4.1?

Thanks
David

@dcombes dcombes changed the title Not able to edit indiviudal blocks on Moodle LMS 4.2 Not able to edit individual blocks on Moodle LMS 4.2 Aug 28, 2024
@dcombes dcombes changed the title Not able to edit individual blocks on Moodle LMS 4.2 Not able to edit individual blocks on Moodle LMS 4.2 onwards Aug 28, 2024
@danmarsden
Copy link
Member

danmarsden commented Aug 28, 2024

Hi @dcombes I haven't heard of this being an issue in a non-workplace 4.2 site - if you could turn developer debugging on with display errors and see if you can get any more information that would be useful.

We are about to start some upgrade projects for sites using this block on 4.1 who want to upgrade to 4.5 but if you have internal development capabilities, pull requests are also very welcome.

@dcombes
Copy link
Author

dcombes commented Aug 29, 2024

We've leap frogged from Moodle 3.9 to 4.4 and found we had the problem. It may or may not appear for 4.2, apologies for my misleading wording before.

I've switched on debugging, and I get the same error for all the examples I tried. It doesn't seem to matter what type of Block I wish to edit in a Multiblock (assuming it has a cog), nor if the Multiblock is located on the right side or centre of the page. I'm not sure if/how I could investigate further into the php to see what is on "line 60" as we don't host our Moodle site ourselves.

Fatal error: Cannot override final method core_form\dynamic_form::__construct() in /var/vhosts/vle.moorlands.ac.uk/htdocs/blocks/multiblock/classes/form/editblock_base.php on line 60

Does this help at all? We're using the Adaptable theme, in case that matters.

I am able to remove the individual Block that I want edit from the Multiblock, make the edits, then re-add the Block, so we have a workaround. But wanted to raise it.

Thanks
David

@jerryshan
Copy link

Hi Dan,

We seem to have the same issue on our testing site with v4.5, that it's returning the same error when we try to edit a block setting that is within multiblock.

Regards
Jerry

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

3 participants