• Hello to all of you,
    I’m trying to tweak template and put this code into the posts div.

    … <?php echo get_the_author_link(); ?> “><?php the_author(); ?>

    But problem strats when I click on that link, I get this message:

    Notice: Undefined offset: 0 in C:\xampp\htdocs\lepenski_vir\wp-includes\query.php on line 3848

    When use get_the_author_link(); without echo everything is ok, but I think that doesnt work with out it?! What do I need, maybe some template page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello jarilo80
    It is quite weird that you are getting this error,you should update your version if running a lower version.
    You can use the_author_link(); at the place of echo get_the_author_link();
    Hope this will help you

    Thread Starter jarilo80

    (@jarilo80)

    I hope that this is the problem, when link is clicked this is what can be seen in tab beside the favicon:

    Page not found – Lepenski VirLepenski Vir

    Where did I go wrong in overwritting or doubling?

    Thread Starter jarilo80

    (@jarilo80)

    Have latest version, realy weird?…

    Thread Starter jarilo80

    (@jarilo80)

    same problem with the_author_link();

    Thread Starter jarilo80

    (@jarilo80)

    even user_nicename in database is without space?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posted by’ is closed to new replies.