Notice: Undefined offset: 0 in single_page_website_form_alter() (line 99 of /sites/all/modules/single_page_website/single_page_website.module).
Notice: Trying to get property of non-object in single_page_website_form_alter() (line 99 of /sites/all/modules/single_page_website/single_page_website.module).

When I click Apply pending Update the update doesn't run and the site goes back to the front-page without running the db update script

Comments

ericjan’s picture

Having the same issue, error is shown on every page and update is not working anymore via the UI and Drush.

rojesaga’s picture

Component: Code » Documentation

Could you tell to us which version did you use of Drupal and Single page website module version use on your demos... I try the last one with Drupal 7.12 and have same error on the Update DB page.

yaremchuk’s picture

Status: Active » Fixed

Thank you,
there was real bug!
It was fixed in the current DEV 7.x-2.x version!
Please try it and let me know that update now works.

rojesaga’s picture

Thanks you Yaremchuk,

The updat works, dont break the update page. Im still have the next errors on the frontpage

Warning: Cannot use a scalar value as an array in drupal_render_page() (line 5588 of /home/ggarciat/public_html/ideageek.mx/includes/common.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6244 of /home/ggarciat/public_html/ideageek.mx/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5723 of /home/ggarciat/public_html/ideageek.mx/includes/common.inc).
Warning: Cannot use a scalar value as an array in drupal_render() (line 5778 of /home/ggarciat/public_html/ideageek.mx/includes/common.inc).

And if I actived the Block module:
Warning: Cannot use a scalar value as an array in block_page_build() (line 269 of /home/ggarciat/public_html/ideageek.mx/modules/block/block.module).

Same for the toolbar and overlay core modules

www.ideageek.mx

If you need have access to the adminsitration, just tell me.

yaremchuk’s picture

thanks, I'll take a look soon

Status: Fixed » Closed (fixed)

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