Just updated panels to 6.x-3.7 and ctools to 6.x-1.7 and now get the following error when browsing to my site:

Fatal error: Cannot redeclare panels_stylizer_lipsum() in sites/all/modules/panels/panels_stylizer/panels_stylizer.module on line 241

Comments

gekido’s picture

think i figured it out - just uploaded the new directory into the old module directory location and didn't do a clean re-install.

spotted this issue: http://drupal.org/node/856986 which pointed me in the right direction.

if major things are moved / reorganized etc would be nice to mention that we need to do a clean reinstall from scratch - 99% of the time when updating a module, i just upload & untar the new module in place without removing the old one. guess this is probably dangerous but has worked with every other module i've done over the past few years until now ;}

*update - yeah, deleting the old panels & ctools modules & reuploading them worked.

merlinofchaos’s picture

Status: Active » Fixed

Yes, the panels_stylizer module was removed. When updating you need to delete the directory before unpacking the tarball.

gateway69’s picture

someone should probably put this in the readme, its gotten me twice already.. :(

glennpratt’s picture

That is normal procedure for updating Drupal modules and Drupal core. One specific module probably isn't a place to document that.

Upgrading modules

To be fair, that page is far from perfect (disabling modules for minor versions is probably a mistake).

Status: Fixed » Closed (fixed)

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

jeffreyvddb’s picture

This problem occured to me just yet.. How can I fix it? Because I can't reach my Drupal installation anymore. I already tried to remove the module folders (ctools and panels) from the server and upload them again. That didn't work..

merlinofchaos’s picture

If removing the folders didn't work, the only answer is that you did not do it correctly, and you should try it again and make absolutely certain that the panels folder is completely removed and then unpacked from a fresh tarball.

jsgammato’s picture

Removing it and then uploading the latest module worked for me (so far anyway...)
Thanks!

vip_sa’s picture

Well I removed the folder completely. Cleared the cache downloaded the latest dev version and still I cannot access my website at all with the panels module in the modules folder.

j99mac’s picture

I am getting the same error and can not access my site. Is there any way to be able to reaccess my site?

enjoy777’s picture

hi

If you cannot get back your site. Try this
Go to you dbase and find table system there you should change status for panels_stylizer and for stylizer from 1 to 0. Maybe this can help.