PHP Error
My Nginx error log is showing the following error:
PHP Notice: Array to string conversion in UNA/template/scripts/BxBaseFormView.php on line 1552PHP
-
-
-
- · Omar Amer
- ·
I've got this error too: In fact I came to post about it.
PHP Notice: Array to string conversion in /home/foouser/foosite/public/inc/classes/BxDolTemplate.php on line 2361
PHP Notice: Array to string conversion in /home/foouser/foosite/public/inc/classes/BxDolTemplate.php on line 2361
but I am not running nginx, this error occurs on Apache as well. -
-
·
LeonidS
-
·
In reply to Scholar
S
- ·
May you provide your UNA studio and Control Panel accesses to me via Messenger? But note that all changes from Developer app are made on your own fear and risk :-)
-
·
LeonidS
-
- · Scholar
-
·
In reply to LeonidS
- ·
LeonidS, my website is not in production yet. I'm also self-hosting on Google Compute Instance running on Debian 10, and Nginix server. Nginix error log file show the following:
[error] 7509#7509: *3762 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: i in /var/www/html/main/template/scripts/BxBaseSearchExtended.php on line 189PHP message: PHP Notice: Array to string conversion in /var/www/html/main/template/scripts/BxBaseFormView.php on line 1552
---Note: my root folder is /var/www/html and I'm installing UNA in the subdirectory /main/ -
-
·
LeonidS
-
·
In reply to Scholar
S
- ·
The first error looks like something goes wrong with this procedure:
list($sPageLink, $aPageParams) = bx_get_base_url_inline();
I may suggest that your have not so standard REQUEST_URI argument in $_SERVER array.
About second trouble is hard to suggest without tracking.
-
·
LeonidS
-
- · Scholar
-
·
In reply to LeonidS
- ·
LeonidS how can I correct this "I may suggest that your have not so standard REQUEST_URI argument in $_SERVER array". And for the second problem, how to troubleshoot it? what do you need to track the error? I've already examined Nginx error logs. Where else should I look at?
-
-
·
LeonidS
-
·
In reply to Scholar
S
- ·
First of all, you need to print this variable $_SERVER['REQUEST_URI']
-
·
LeonidS