How to remove this error on the site

Fatal error: Call to undefined function Edit_post_link () in /var/www/u0090067/data/www/infokaz.kz/wp-content/themes/the-newswire/content-page.php on line 10

  • Show wp-content / themes / the-newswire / content-page.php code. You can first lines 20. - Visman
  • one
    What function are you going to use? Редактировать_post_link post? What? There is no such function, there is edit_post_link . Subject is kind of clumsy, do you write or use someone else's? Show the code as requested in the comments above - BOPOH
  • Fatal error: Call to undefined function Edit_post_link () in /var/www/u0090067/data/www/infokaz.kz/wp-content/themes/the-newswire/content-page.php on line 10 - Assel Tabysova
  • @AstelTabysova, everyone already understood this, we are interested in the contents of this file, edit the question and add at least 20 lines from this file to it. It would also be useful to indicate who the author of this topic is, if it is received from somewhere outside, it would be nice to provide a link to this topic. Specifically, for this error, the replacement edit_post_link by edit_post_link should help - BOPOH
  • Thank you very much Raven !! I understood and corrected after your hint)) - Assel Tabysova

2 answers 2

switch your theme to WP or add _post_link() function

  • where to add? - Asel Tabysova
  • so there is not _post_link lost, but _post_link . Don't add it anywhere, edit_post_link already there - BOPOH
  • In that case, I would take a look at content-page.php on line 10 - username

The message indicates that the script calls the function _post_link () which was not declared. Add a function, or exclude its call.