Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Error: Class "Twig\Node\Expression\TestExpression" not found Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by camti »

Hello,
I am using nubuilder
DB Version: V.4.5-2023.04.10.00
Files Version: V.4.5-2023.05.01.02

When I (as an admin) click on the button "Database" (Home, tab "Database"), only an error appears:
Error: Class "Twig\Node\Expression\TestExpression" not found

I am uncertain what is supposed to happen when that button is clicked.
in the tab Custom Code of its properties it says:

Code: Select all

nuVendorLogin('PMA');
Maybe somebody could enlighten me what to expect there, or if something needs to be changed here? Thanks for your pointer!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by kev1n »

Hi,

What's your PHP version?
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by camti »

it is 8.1
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by kev1n »

Hi,

If you are experiencing problems with nuBuilder's phpMyAdmin, it is recommended that you open an issue on the official GitHub repository and seek assistance.

Alternatively, you could consider upgrading to a more recent version for a possible solution.

1. Start by renaming the directory /core/libs/nudb/ to /core/libs/nudb_original/.
2. Next, download the file from the following URL: https://files.phpmyadmin.net/snapshots/ ... nglish.zip
3. Create a new folder named /core/libs/nudb/.
4. Unpack the downloaded file and move its contents to the newly created /core/libs/nudb/ directory.
5. Finally, copy config.inc.php from the nudb_original directory to the (newly created) nudb directory.
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by camti »

Thank you very much for those detailed, helpful instructions; I will try later that and report back.

Meanwhile, though, might I ask again - "What is supposed to happen when that button is clicked?"
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by kev1n »

phpMyAdmin is supposed to open in a new tab.
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Error: Class "Twig\Node\Expression\TestExpression" not found

Unread post by camti »

Thanks for this hint.

I have copied the file, but changed your instructions from step 5:
Copied the config.inc.php from the nudb_original to the (newly created) nudb directory.

Now clicking the database button calls phpmy admin - thank you!
Post Reply