Fatal error: Cannot unset string offsets in /includes/form.inc on line 319

inside views_deploy_add_form if there are no deployment plans it returns an error message "No deployment plans available", however it's looking to render a form and thus causes this error.

CommentFileSizeAuthor
#1 views_deploy_233445.patch1.63 KBgdd

Comments

gdd’s picture

Status: Active » Needs review
StatusFileSize
new1.63 KB

Patch attached. I changed it so that if there are no deployment plans created, then the Deploy option doesn't even appear on the admin/build/views page. I'll probably make the same change to content_copy_deply.module. Let me know if it works for you.

gdd’s picture

Status: Needs review » Fixed

I made this change to both Views and Content Copy and commited it. It should be in the next dev release. Let me know if you have any more problems, and thanks for the report.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.