Topic: Buttons missing on Chart of Accounts page

I noticed that my Chart of Accounts page is missing the action buttons at the bottom of the page (Add New, Update, Cancel, etc). The page is cut short at the Account Tags row.

With debugging on, I get this error:

Cannot redeclare add_tag() (previously declared in ../../admin/db/tags_db.inc:13) in /<my_url>/public/admin/db/tags_db.inc on line 13

I may have messed something up somewhere because it worked fine before.  I also tried a re-install, but no luck.

I would appreciate any pointers.

Re: Buttons missing on Chart of Accounts page

After much wringing of hands I think I found the solution.

In ...gl/manage/gl_accounts.php

Changed line 24:
include($path_to_root . "/admin/db/tags_db.inc");

to:
include_once($path_to_root . "/admin/db/tags_db.inc");

I hope that's the end of my woes.

Re: Buttons missing on Chart of Accounts page

@joe: Is this necessary and if so from what version of PHP onwards?

Re: Buttons missing on Chart of Accounts page

I am running php 8.0.12 without any problems here. However changing this have no influence on other installations, so this has been fixed and pushed to repo.

/Joe