Support » Fixing WordPress » bool(false) at the bottom of a page

  • Hello,
    after a new upload of a review template, on my website appeared this text bool(false).
    I have used an inspection program of google chrome and realized a source of it = sidebar-footer.php.
    I have used template editor to delete a syntax <?php } ?> from a bottom of sidebar-footer.php and the problem disappeared.
    I have noted this post due to I haven´t found a relevant and resolved issue.

    Thank you all of you for this awesome WordPress!
    Take care, Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tompok76

    (@tompok76)

    … and new report is here:
    Parse error: syntax error, unexpected end of file in /data/web/virtuals/14546/virtual/www/domains/tompok76.cz/wp-content/themes/tompok76_3/sidebar-footer.php on line 73

    … any ideas how to fix bool(false) yet?

    thks Tom

    http://www.tompok76.cz

    Dion

    (@diondesigns)

    Your first error went away because you broke your site by removing that PHP code.
    Please put back the code you removed. I’ll also make two suggestions:

    1) Don’t edit your theme files in the theme editor — use FTP instead. (I really, really wish the theme/plugin editor would be removed from WordPress.)

    2) If you don’t understand PHP code, then it’s best to not make changes to it.

    Now, back to your original error. It is most likely coming from javascript displaying a string that was incorrectly set to boolean. Once you undo the edit you made, load a page that displays `bool(false)’ and then check the javascript console of your browser. I’m pretty sure it will tell you the location of the problem.

    Thread Starter tompok76

    (@tompok76)

    Hello DionDesigns,
    thank you for your reply.
    1) Done / I have used in WordPress integrated theme editor and don´t have any other plugin for this purpose.
    2) OK

    The problem is visible on Win 10 Chrome and Explorer both and on IOS too 🙁
    What do you mean check javascript of your browser, I suppose it is the problem of the template, isn´t it? (The template is made by Artisteer.)

    To see my issue jump on: http://www.tompok76.cz

    Thank you very much for any further help,
    Tomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘bool(false) at the bottom of a page’ is closed to new replies.