Forums | Mahara Community

Support /
Twitter blocktype remnants create error


Patric Lougheed's profile picture
Posts: 97

05 May 2020, 10:12

Hi,

Many moons ago I had the Twitter block running in my instance which of course became disabled as it no longer worked. Now with my recent update to 19.10.3 I cannot edit my profile page anymore as it throws this error:

[WAR] 1e (lib/mahara.php:1615) File /var/www/blocktype/twitter/lib.php did not exist
Call stack (most recent first):
safe_require("blocktype", "twitter") at /var/www/blocktype/lib.php:1175
BlockInstance->render_editing() at /var/www/lib/view.php:2087
View->get_blocks(true) at /var/www/view/blocks.php:206

I think that this is caused by the presence of twitter info left in the database, as there is no function to uninstall plugins, there is an error generated. Maybe due to the presence of it in the block_instance table?

 

Robert Lyon's profile picture
Posts: 757

06 May 2020, 9:07

Hi Patric,

Mahara hasn't developed an un-install plugin system yet. But I've written up some info on how to remove a plugin here https://wiki.mahara.org/wiki/Developer_Area/Plugins#Remove_a_plugin by running certain SQL commands

Cheers

Robert

Patric Lougheed's profile picture
Posts: 97

06 May 2020, 10:29

Thanks Robert,

Before, I got stuck on ERROR: update or delete on table "block_instance" violates foreign key constraint "blocinstdime_blo_fk" on table "block_instance_dimension" DETAIL: Key (id)=(88350) is still referenced from table "block_instance_dimension".

but your doc did the treat.

 

3 results