Topic: Fatal error: Cannot redeclare _checkactive_widgets()

A few days here, the error described below appears when I try to access the options issue.
I can not change anything, I need help.

I am Brazilian, and use the Arras Theme 1.3.6 in the www.anormal-anm.com

Fatal error: Cannot redeclare _checkactive_widgets() in /home/a102396/public_html/wp-content/themes/arras-theme_13/library/admin/templates/functions.php on line 191

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

This reply might be too late but may help others who come across this again.

I had the same prob even with the latest arras 1.4.3 and the prev one.  it seems it occurs due to the widgets being used in a previous theme, so on resetting/clearing them, re-installing the theme again then i was able to avoid this error.

Thumbs up +1

3

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Stickied. Thanks for the heads up smile

Re: Fatal error: Cannot redeclare _checkactive_widgets()

zy wrote:

Stickied. Thanks for the heads up smile

Hi

I have the same problem with arras 1.4.3  :

Cannot redeclare _verify_activeatewidgets() (previously declared in /homepages/23/d211483291/htdocs/YPS/wp-content/themes/arras-theme/functions.php:63) in /homepages/23/d211483291/htdocs/YPS/wp-content/themes/arras-theme/library/admin/templates/functions.php on line 224

" re-installing the theme again" doesn't solve the problem.

What can i do ?

Greentings  smile

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

those functions are already declared in other php files (dependencies). If you want to keep the role of your function, declare it with other name.

if you accidentally redefine a function in the same file please make sure that you want a function to do different stufffs. PHP doesn't support function overloading outside of classes.

Please make sure that you have only one function declared in your code. If you want a function to do different stuffs, please check the parameters of the functions (how are they declared and what meaning has each one)

Supporting Arras for Romanian public! Updates of Romanian version for Arras can be found here. You can visit my WordPress support project to see the power of Romanian Arras!

Re: Fatal error: Cannot redeclare _checkactive_widgets()

dumbravaandrei wrote:

those functions are already declared in other php files (dependencies). If you want to keep the role of your function, declare it with other name.

if you accidentally redefine a function in the same file please make sure that you want a function to do different stufffs. PHP doesn't support function overloading outside of classes.

Please make sure that you have only one function declared in your code. If you want a function to do different stuffs, please check the parameters of the functions (how are they declared and what meaning has each one)


This does not say how to fix it. I have run into the same problem, but the line is 277 which is blank so how do I fix it

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

I just installed Arras for someone & their page has went totally blank.  I can't even get to the wordpress log in page. I need help fast!!!!

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

how fix this problem?

Fatal error: Cannot redeclare _check_isactive_widget() (previously declared in /homez.374/filmosy/www/wp-content/themes/arras/functions.php:75) in /homez.374/filmosy/www/wp-content/themes/arras/library/admin/templates/functions.php on line 257

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Maybe a late reply, but I want to say thanks for the given solutions. They were a big help for me.

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Hey guys!
First I was getting the error message 404 in which I fixed after reading the posts on here and Im getting this message.

Parse error: syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/content/72/7138272/html/blog/wp-content/themes/arras1/library/widgets.php on line 446

Can someone help me please!

I have a temporary theme up now but would prefer arras

http://freshswaggermagazineblog.org

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Now i have the same Problem sad

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

help me when i update to newest WP it become like this, Fatal error: Call to undefined method Arras_Widget_Tag_Cloud::WP_Widget_Tag_Cloud() in /home/pchotzon/public_html/wp-content/themes/arras/library/widgets.php on line 404

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

shadab wrote:

This reply might be too late but may help others who come across this again.
buy marijuana seeds buy weed seeds
I had the same prob even with the latest arras 1.4.3 and the prev one.  it seems it occurs due to the widgets being used in a previous theme, so on resetting/clearing them, re-installing the theme again then i was able to avoid this error.

Thank you, thank you, thank you shadab.... this has been doing my head in for over a week now! Just followed what you said and bam no more error message! big_smile Thanks again friend smile

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

I think the same problem is happening commonly. I and one of friend also had the same issue some days back but he has thought it was some glitch with his VMware Hosting . We tried our level best and failed. One of our senior helped us to sort out the issue very simply. So I decided to share it with you all. Resetting or cleaning the previous widgets being used in a previous theme can help you to get out of this trouble. It helped me very quickly

Last edited by lonal (2012-01-03 12:37:27)

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Today I've the same trouble.
I did the wordpress 3.3 upgrade and the site goes down with a fatal error:
PHP Fatal error: Call to undefined method Arras_Widget_Tag_Cloud::WP_Widget_Tag_Cloud() in C:\WebSites\asbasalti.it_2acfyhe61lsfehw9\wp-content\themes\arras\library\widgets.php on line 404
I don't know what to do.
There's someone can help me? Thanks a lot

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

I think you need to update to Arras Theme 1.5.1.1. See this announcement by the theme developer: http://www.arrastheme.com/forums/topic7 … lable.html

Or, maybe even the latest version of the theme.

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

I was getting that same error line a few weeks ago also, i just reinstalled Arras Theme and it solved it, but i guess if i had have updated it, it would have had the same effect alright smile cannabis seeds for salegodaddy promo code

Thumbs up

Re: Fatal error: Cannot redeclare _checkactive_widgets()

Since i make the Upgrade my problem was solved. Thanks for your help

Thumbs up