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 indiviudal blocks on Workplace 4.2 #104

Open
jess-bryant opened this issue Sep 22, 2023 · 3 comments
Open

not able to edit indiviudal blocks on Workplace 4.2 #104

jess-bryant opened this issue Sep 22, 2023 · 3 comments

Comments

@jess-bryant
Copy link

I have a couple of sites that started on 3.11 and have since been upgraded to 4.0, 4.1 and now 4.2. On both sites Multiblock functions great on 3.11-4.1, but on 4.2 I am not able to edit an individual block. I instead get a white screen.

The block still looks and functions well on the dashboard, I can get to the manage multiblock page, and add new blocks, but when I click on the gear next to the right of any contained block - a white screen loads. With full debugging on I get this error:

Fatal error: Cannot override final method core_form\dynamic_form::__construct() in /mnt/data/sites/jessdemowp/http/blocks/multiblock/classes/form/editblock_base.php on line 60

@danmarsden
Copy link
Member

Thanks for the report! - we don't have this running in any workplace sites ourselves - probably something specific to how it identifies the blocks class name when editing it somewhere in this chunk:
https://github.com/catalyst/moodle-block_multiblock/blob/38cac4731166a9fde4c1932e18da3567098c1b1e/configinstance.php#L51-L63C14

pull requests always welcome! :-)

@Very-Squishy
Copy link

I have a same exact problem. Multiblock works perfectly on 4.1, but 4.2.2 killed it.
I can still build internal contents, but as soon as I try to edit any item in the "Manage Multiblock contents" screen, I get error 500.
Picture1

@jprovasnik
Copy link

Same here - Wanted to also mention that when on the "Manage Mutilblock Content" page, clicking "Block location" at the top of the page no longer brings me back to the page where the block was added - instead I see a "File not found" message.

Instead of returning you to
"https://moodle.site/admin/tool/custompage/view.php?id=12"
the Block Location" link brings you to
"https://moodle.site/admin/tool/custompage.php

filenotfound

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