Ideas how to fix?

www.emissary.free.nf

(please specify the URL of the site on which you are experiencing the problem)

Message:
Unclosed ‘{’ on line 32

File:
/home/vol17_2/infinityfree.com/if0_35344657/htdocs/includes/db/db.php

Line:
107

Stack Trace:

  • #1 {main}
  • #0 /home/vol17_2/infinityfree.com/if0_35344657/htdocs/admin.php(55): require_once()

Running PHP 8.2

Check your code

6 Likes

admin.php or db.php?

and how to fix Unclosed ‘{’ on line 32 ?
or admin.php(55): require_once() ?

Wherever the code issue is that triggered the error. And to find that out, it often works best to start looking where the error occurred. Which is db.php, as you can clearly see.

The Stack Trace just shows how the code was called, which is useful for troubleshooting, but doesn’t indicate that the calling code is wrong.

By fixing the syntax error in your code. Probably you have an if statement or something on line 32 with an opening curly bracket but missed the closing curly bracket, and if so you need to add it.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.