This error seems to be killing my site:

[18-Dec-2008 11:36:54] PHP Fatal error: Cannot redeclare _views_theme_functions() (previously declared in /Users/user/mynewwebsite.test.mywebsite.com/sites/all/modules/fckeditor/views/theme/theme.inc:21) in /Users/user/mynewwebsite.test.mywebsite.com/sites/all/modules/views/theme/theme.inc on line 35

It appears from this that FCKEditor is declaring a function that Views also declares? How do I fix this and get my site working again?

Comments

wwalc’s picture

Status: Active » Closed (works as designed)

FCKeditor module does not contain "views" subdirectory. You have probably did something wrong / uploaded views into fckeditor's folder.

pam.pkrweb@gmail.com’s picture

I am getting this same issue but not with FCKEditor just views in general. Just update to views version 6.x-2.5 and it was working fine before updated. Here the error I am getting.

"Fatal error: Cannot redeclare _views_theme_functions() (previously declared in /var/www/drupal/sites/ourfatherschurchdev.org/modules/views/theme/theme.inc:21) in /var/www/drupal/sites/ourfatherschurch.org/modules/views/theme/theme.inc on line 35"

Just as a note was creating a backup site of ourfatherschurch.org to ourfatherschurchdev.org. Copy the directory to create to website, but both site still currently point to the same database. That was my next step to change the database of one of them. When I figure I better do some module updates first.

Please help. Should I roll back to my backup? I did create one before making the updates to the modules.

pam.pkrweb@gmail.com’s picture

I figured this out. Once I cleared the views cache it works fine. Sorry for any inconvenience.