Open xbloq opened 4 months ago
Hi guys, got exactly the same problem with 19.0.0, is it fixed in 19.0.1 ?
Nope. The problem is also present in 19.0.1
The issue seems to be linked to user permission: adding thirdparty suppression to user permission seems to solve it. Not ideal though...
Bug
Users, not administrators, have a blank page to open project from third
Environment Version
19.0
Environment OS
No response
Environment Web server
No response
Environment PHP
8.2
Environment Database
No response
Environment URL(s)
No response
Expected and actual behavior
PHP Warning: Undefined variable $arrayofmassactions in /dolibarr/htdocs/societe/project.php on line 105 PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /dolibarr/htdocs/core/class/html.form.class.php:833 Stack trace:
0 /dolibarr/htdocs/societe/project.php(105): Form->selectMassAction()
1 {main}
thrown in /dolibarr/htdocs/core/class/html.form.class.php on line 833
I can work if I put $arrayofmassactions = array(); in line 105 before $massactionbutton = $form->selectMassAction('', $arrayofmassactions); of /htdocs/societe/project.php
Steps to reproduce the behavior
No response
Attached files
No response