• Resolved bartkosch

    (@bartkosch)


    Hi, I have some strange errors in the backend and on the normal sites.

    In backend:
    On “pages” and “posts” all pages and posts does not have a title. Instead there is a “(no title)” (see picture 1). If I click on “Quick edit” or “Edit”, the right title of the page or of the post is shown (see picture 2).

    picture 1

    picture 2

    On final page:
    On page.php the_title() does work (see h1):
    https://www.annikaklapper.de/projektvorschlaege/

    On single.php and on index.php it doesn′t (h1 is empty):
    https://www.annikaklapper.de/gefaellt-mir-heisst-ich-liebe-dich/

    I am using only one plugin (Advanced Custom Fields). Deactiveting it doesn′t fix the error. Reinstalling wordpress doesn′t help.

    Strange is, that everything works perfectly on my XAMP-Server. Why is it so broken online?

    Thx for helping me out.

    • This topic was modified 7 years, 1 month ago by bartkosch.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    With ACF, you can turn off the title box on a page. Look under the Field Groups and check the settings at the bottom of the page to see what’s chosen to be hidden.

    Thread Starter bartkosch

    (@bartkosch)

    Thanks for the fast answer. I tried it. I found the settings with hide/show all at ACF. But turning it on/off did not helped.

    Did you saw the two pictures, that I edited to my post:
    picture 1

    picture 2

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What happens if you add a title when editing the page?

    Thread Starter bartkosch

    (@bartkosch)

    Editing it didn`t help. But I finally found the bug. There was somekind of UTF-8 / ANSI bug in my functions.php.

    I just copy&paste my hole code to a fresh blank-theme and it worked after that. Really strange.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘(no title) Bug in backend; missing “the_title” on some pages and in backend’ is closed to new replies.