0
votes

I am getting an error when I try to access my site (site on WordPress) Fatal error: Call to undefined function themify_build_write_panels() in /home/ash/public_html/wp-content/themes/metro/theme- functions.php on line 931

My line 931 is =>

themify_build_write_panels( apply_filters(
'themify_theme_meta_boxes' , 

please help me!!

Thanks :)

1
Soooo you might wanna ask first thing, is that function defined before you are calling it? - Hanky Panky
I dont know.. I am a newbie in PHP. Please help :( - Ashish Srivastava

1 Answers

0
votes

This error is occurring because you did not define this function in functions.php

Check if you properly defined this function or not.

Find this function in your functions.php

function themify_build_write_panels(){
    //statements
    //statements       
}

You are right you are new to WordPress but as a developer you should know programming and how functions are used in programming and also how to define them.

Error is transparent that you did not define your function.