On piecemaker/modules/piecemaker_blocks/piecemaker_blocks.admin.inc:53

Need replace
block_admin_configure_submit($form, &$form_state);
with
block_admin_configure_submit($form, $form_state);

Comments

validoll’s picture

Issue summary: View changes
pwiniacki’s picture

I can confirm that this fix is working, also:

Fatal error: Call-time pass-by-reference has been removed in ...\sites\all\modules\piecemaker\modules\piecemaker_blocks\piecemaker_blocks.admin.inc on line 56

change line 56
piecemaker_add_new_block_form_submit($form, &$form_state);
to
piecemaker_add_new_block_form_submit($form, $form_state);

and you are done. Thanks goes to @validoll

batigol’s picture

@pwiniacki yea but there is also:

Fatal error: Call to undefined function piecemaker_blocks_add_file_validate() in \includes\form.inc on line 1513

and - https://www.drupal.org/node/1813836

so this module should be seriously upgraded before installation cause it's buggy - for example piecemaker block cannot be saved...

https://www.drupal.org/node/1727984 - this project (1.0) looks ABANDON. Pity cause it's (was) a great module.

And even more:

Notice: Undefined variable: items in _piecemaker_blocks_xml() (line 25 of \sites\all\modules\piecemaker\modules\piecemaker_blocks\piecemaker_blocks.xml.inc).

Warning: Invalid argument supplied for foreach() in template_preprocess_piecemaker_xml() (line 40 of \sites\all\modules\piecemaker\theme\piecemaker.xml.inc).

Notice: Undefined variable: Contents in template_preprocess_piecemaker_xml() (line 43 of \sites\all\modules\piecemaker\theme\piecemaker.xml.inc).

Warning: implode(): Invalid arguments passed in include() (line 6 of \sites\all\modules\piecemaker\theme\piecemaker-xml.tpl.php).