ArtefactTypeBlog->commit() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/lib.php:579
ArtefactType->__destruct() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/blog/new/index.php:83
ArtefactTypeBlog::new_blog(object(LiveUser), array(size 5)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/blog/new/index.php:83
Where a new blog is going to be created but ArtefactType->__destruct() is called first so that the new blog is not an insert by an update sql call, which in turn fails because column 'locked' doesn't have any value.
This seems to be caused by the bit:
ArtefactTyp eBlog-> commit( ) at /home/robertl/ htdocs/ mahara- devel/mahara/ htdocs/ artefact/ lib.php: 579 e->__destruct( ) at /home/robertl/ htdocs/ mahara- devel/mahara/ htdocs/ artefact/ blog/new/ index.php: 83 eBlog:: new_blog( object( LiveUser) , array(size 5)) at /home/robertl/ htdocs/ mahara- devel/mahara/ htdocs/ artefact/ blog/new/ index.php: 83
ArtefactTyp
ArtefactTyp
Where a new blog is going to be created but ArtefactType- >__destruct( ) is called first so that the new blog is not an insert by an update sql call, which in turn fails because column 'locked' doesn't have any value.