banner



How To Fix Fatal Error: Cannot Redeclare Get_language_attributes() (Previously Declared In

Avatar: susan bradley

Participant

February 11, 2016 two:20 pm

Hi,

my site has been down for a few days since the WordPress update. it appears they accept implemented the taxonomy meta characteristic which now clashes with your theme. however there is likewise a slight difference: they employ the 'term' parameter whilst you utilise the 'taxonomy' parameter

/wp-includes/taxonomy.php

            function update_term_meta( $term_id, $meta_key, $meta_value, $prev_value = '' ) { .. update_metadata( 'term', $term_id, $meta_key, $meta_value, $prev_value );          

whereas you take

/wp-content/themes/Legenda_v2.ii/legenda/framework/inc/taxonomy-metadata.php

            office add_term_meta($term_id, $meta_key, $meta_value, $unique = faux) { 	return add_metadata('taxonomy', $term_id, $meta_key, $meta_value, $unique); }          

as such I didn't want to just delete your functions (or try namespacing them to keep them separate) as i don't know what that fundamental departure will affect?

I understand you can login and fix the file, simply I'd be grateful also to know what the fix is? Also will nosotros likely come across an update to the theme to ready this soon?

thanks

Site URL: hidden

Theme version: Legenda 2.2

Avatar: susan bradley

susan bradley

Participant

February 11, 2016 two:24 pm

sorry that was 2 dissimilar functions. apparently i meant the specific divergence between eg

wordpress
add_metadata( 'term', $term_id, $meta_key, $meta_value, $unique );

and
Legenda
add_metadata('taxonomy', $term_id, $meta_key, $meta_value, $unique);

thank you

Avatar: Jack Richardson

Jack Richardson

Back up staff

February 11, 2016 two:54 pm

How-do-you-do,

You lot're using very old theme version. Please update the theme to the latest version and Woocommerce likewise.
Before update delete "woocommerce" binder in the directory wp-content/themes/legenda/ and information technology'll exist reuploaded from a new theme package.
Also update all required plugins https://www.8theme.com/download-plugins/ .

Don't forget to create back up of your files and database before starting update process!

All-time regards,
Jack Richardson.

Avatar: susan bradley

susan bradley

Participant

Feb 11, 2016 3:01 pm

thank you for the swift reply, Jack. I'll get on to doing that now

Avatar: Jack Richardson

Jack Richardson

Support staff

February xi, 2016 3:21 pm

Hi,

Y'all're welcome.
Let us know if further assist is required.

Best regards,
Jack Richardson.

Avatar: susan bradley

susan bradley

Participant

February eleven, 2016 4:48 pm

exercise i need to utilise the specific version of Woocommerce included inside your theme? (i think it's slightly out of engagement) I tried updating information technology, but my styles aren't correct. I'm just trying to runway down why.

(it may be visual composer which i've non managed to update withal)

Avatar: susan bradley

susan bradley

Participant

February 11, 2016 five:01 pm

distressing i'd not uploaded "woocommerce" from within your theme. i thought that was a plugin so would update from the main plugin section. (slightly dislocated on your instructions). I'm uploading that binder from your theme now.

Avatar: Eva

Eva Kemp

Support staff

Feb 11, 2016 5:33 pm

Hi,

Is your problem resolved?

Regards,
Eva Kemp.

Avatar: susan bradley

susan bradley

Participant

February xi, 2016 v:36 pm

error is fixed. layout is cleaved . delight see private content added to post higher up

thanks

Avatar: susan bradley

susan bradley

Participant

Feb 11, 2016 v:48 pm

sorry aye information technology is stock-still at present.

the error has gone and the layout is displaying correctly

the woocommerce folder had not uploaded correctly. all seems to be fine now. i'll give it a thorough once over. http://www.susanbradley.co.united kingdom of great britain and northern ireland/shop

thanks for your assist

Avatar: Eva

Eva Kemp

Back up staff

February 11, 2016 five:59 pm

Howdy,

So equally I run across your Shop page is shown properly.
Do you lot all the same need assistance from us?

Regards,
Eva Kemp.

How To Fix Fatal Error: Cannot Redeclare Get_language_attributes() (Previously Declared In,

Source: https://www.8theme.com/topic/wordpress-4-4-2-php-fatal-error-cannot-redeclare-add_term_meta/

Posted by: moorehicave.blogspot.com

0 Response to "How To Fix Fatal Error: Cannot Redeclare Get_language_attributes() (Previously Declared In"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel