Dec 13, 2016 | WordPress

Can not re-declare the_post_thumbnail_caption error after WordPress 4.6 update

The WordPress core introduced new function with the name the_post_thumbnail_caption function. Some themes also have functions with same name and multiple occurrence of same functions breaks the themes.

How to handle Fatal error Cannot redeclare the_post_thumbnail_caption

If you’re using premium WordPress theme you should contact with theme developers if they did not handle the issue already. What if you don’t have license version of theme ans still facing this issue?

In this case, We would recommend you to take the backup of website and than navigate through theme’s function file. You will figure out the function with the name the_post_thumbanail_caption. Rename this function with any new name, It could be yourtheme_the_post_thumbnail_caption and your website will stop showing Fatal error Cannot redeclare the_post_thumbnail_caption after WordPress 4.6 update.

If there is some breakdown in functionality of theme you need to get an expert developer or you can drop comments with the problem you’re facing. We would help you to get your website live in no time.

Posted By:
Mohammed Arif
Arif is Development Head at Elicus and has over 10 years experience in the development industry. He is passionate about WordPress. Follow him on Twitter @themohdarif.

0 Comments

0 Comments

Grasping Gravatar: Your Digital Identity Across the Web

Grasping Gravatar: Your Digital Identity Across the Web

Are you tired of uploading your profile photo on different online platforms? Is your digital identity not synched? Digital identity helps you present yourself on the internet through your personal picture. It helps people recognize you. But is it uniform across...

5 Reasons Why You Should Hire a Custom WordPress Developer

5 Reasons Why You Should Hire a Custom WordPress Developer

A custom WordPress developer can develop your site perfectly based on your requirements. If you are considering building a WordPress website, it's possible you are unsure whether to hire a WordPress developer or do it yourself.  With the vast amount of resources on...

What’s Apple Business Connect and How to Use it for SEO

What’s Apple Business Connect and How to Use it for SEO

If you want your business to thrive, SEO is a must. When it comes to SEO, local SEO cannot be ignored, which simply means the presence of your platform on Google My Business. Well, that's good for people with Android devices who use Google Maps as their navigation....

2023 in Review: Celebrating Creativity and Growth at Elicus

2023 in Review: Celebrating Creativity and Growth at Elicus

2023 was a remarkable year for Elicus with new beginnings, amazing growth, and impressive contributions to the WordPress community. We not only enjoyed the pleasure of getting a new wonderful work environment but also welcomed new amazing talents to our team. We...

Divi Extended
WPMozo
Divi WooCommerce Extended