If I want to create a rendering chain with a freshly installed painter_ui 6.x-2.1-beta5 with I get the following warnings:
* warning: array_values() [function.array-values]: The argument should be an array in /home/jan/work/jgdresden/website/html/sites/jgdd-dev.localhost/modules/painter/painter_ui.module on line 1019.
* warning: implode() [function.implode]: Invalid arguments passed in /home/jan/work/jgdresden/website/html/sites/jgdd-dev.localhost/modules/painter/painter_ui.module on line 1019.
obviously the argument $chain_lightbox_exposure to array_values is undefined or not an array. An entry for the specified rendering chain is added to the painter_chains table and operations can be added to the rendering chain.
The try to edit the operation fails with the following warning:
user warning: Table 'jgdddev.painter_ops' doesn't exist query: SELECT op_id, op_name, op_label, op_plugin, op_args, op_weight, chain_name FROM painter_ops WHERE op_id=1; in /home/jan/work/jgdresden/website/html/sites/jgdd-dev.localhost/modules/painter/painter_ui.module on line 1095.
The table is actually named drupal_painter_ops ... maybe just a missing prefix
Comments
Comment #1
Scheepers de Bruin commentedYou hit the nail right on the head with this warning:
'painter_ops' in the query on line 1095 needs to be wrapped in curly braces.
I've incorporated this change in the latest release, thanks!
Comment #2
Scheepers de Bruin commented