On Version 3.3.1
Report designer.
When I use a PHP type html block in the Report designer I always get this Warning message from Apache, whatever PHP code I insert, even a simple $output_value="hello!";
This is the Warning message:
mod_fcgid: stderr: PHP Warning: Undefined array key "id" in
/var/www/vhosts/MYDOMAIN.it/httpdocs/plugins/ext/classes/report_page/blocks_php.php on line 39, referer: https://www.MYDOMAIN.it/index.php?modul ... e/view&id= 6
Can this be fixed somehow?
Report designer - Undefined array key "id"
-
- Posts: 13
- Joined: 09 Jun 2022, 18:55
- Name: Stefano Romoli Fenu
- Location: Firenze Italy
- Company Name: dgnet srl
- Contact:
Report designer - Undefined array key "id"
Stefano Romoli Fenu
dgnet srl
dgnet srl
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Report designer - Undefined array key "id"
File from archive replace to plugins\ext\classes\report_page\
- Attachments
-
- blocks_php.zip
- (1.49 KiB) Downloaded 87 times
-
- Posts: 13
- Joined: 09 Jun 2022, 18:55
- Name: Stefano Romoli Fenu
- Location: Firenze Italy
- Company Name: dgnet srl
- Contact:
Re: Report designer - Undefined array key "id"
The file I downloaded and then uploaded online is identical to the one that already exists on the server. In fact the warning remains the same.
Stefano Romoli Fenu
dgnet srl
dgnet srl
- support
- Site Admin
- Posts: 6231
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Report designer - Undefined array key "id"
Strange. Try this one.
- Attachments
-
- blocks_php_2.zip
- (1.49 KiB) Downloaded 99 times
-
- Posts: 13
- Joined: 09 Jun 2022, 18:55
- Name: Stefano Romoli Fenu
- Location: Firenze Italy
- Company Name: dgnet srl
- Contact:
Re: Report designer - Undefined array key "id"
This file is the correct one.
Line no. 39:
$this->item['id']??0,
in the previous file it was like this:
$this->item['id'],
Line no. 39:
$this->item['id']??0,
in the previous file it was like this:
$this->item['id'],
Stefano Romoli Fenu
dgnet srl
dgnet srl