• Resolved foodalogue

    (@foodalogue)


    Was working on a post and edit became a little wonky after upgrading to new version. I eventually lost access to blog and received this message:

    Fatal Error: Cannot redeclar get the author posts link () (previously declared in home/content/74/44899/home/content 74/4489974/html/wp-content/themes/foodalogue/library/com_functions.php on line 8.

    Desperate for a fix if someone would please advise what to do. Can’t access dashboard or website so I can’t even revert to former version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, @foodalogue!

    get_the_author_posts_link() is a new function added in WordPress 4.4, but it seems your theme has its own implementation of that function.

    It looks like this is a custom theme for your site. To get your site working, you’ll need to edit the com_functions.php file in your theme, to remove this function.

    Here’s some more information about editing files in your theme: https://codex.www.ads-software.com/Editing_Files

    If you’re not comfortable editing this file yourself, you’ll need to contact your website developer to make the change for you.

    Thread Starter foodalogue

    (@foodalogue)

    Thank you so much for responding. I’m curious how you knew I have a custom theme since I can no longer access my site. Does the error message indicate that in some way?

    More importantly, I’m not quite sure how I follow the link directions if I can’t access dashboard or website and, therefore, I cannot access text editor. I am no longer in contact with developer — it was 8 years ago!

    Or is this suggesting I can work from a backup — and that will allow me to access text editor and restore website?

    Appreciate any further clarification.

    The error message shows that the error is occurring in the wp-content/themes/foodalogue/library/com_functions.php file, the “foodalogue” part indicates that it’s a custom theme for your site.

    Your web host will be able to help you access the file directly – they may have a browser-based interface for that (a popular browser interface is called cPanel, if you happen to know that your host provides that).

    I would definitely recommend working from a backup of the file – that way, you can easily restore the file to its original state, if things really aren’t working out.

    If editing the file yourself isn’t working, please try https://jobs.wordpress.net/ or https://directory.codepoet.com/ and do not accept any hire or direct access offers posted to these forums.

    Thread Starter foodalogue

    (@foodalogue)

    Thanks for getting back to me. I appreciate your input.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error – Lost Access’ is closed to new replies.