Your theme’s functions.php file is missing a function (wp_insert_link) that is called elsewhere in the theme (possibly in comments.php). That’s not a native WP function, so I’ve no idea what it was supposed to do. You could removing it from the other theme files.
Alternately, re-download the theme and see if the default functions.php has that function in it.
Thread Starter
domii
(@domii)
Solution found, posting solution as it sucks when people don’t do that :).
Ok found the solution. This theme had decrypted code it to insert a backlink in links automaticly. I removed one part alrdy which described the function. Now I found another piece in functions.php. On deletion it worked perfectly.
Thanks Esmi as when you said it’s not a native WP function I knew what I was up against!
(@domii)
16 years, 7 months ago
When I post a comment I get the error:
Fatal error: Call to undefined function wp_insert_link() in /var/www/clients/client4/web12/web/wp-content/themes/gamers-theme/functions.php(34) : eval()’d code on line 6
The message does get posted though.
I checked the functions.php in that template and can’t find the problem.
I do use WordPress 2.8.5 + WP United + phpBB3 + Gamers Theme.
So the comments work fine, just the message where it should say: post succesfully posted it gives this error instead.