2024-10-22, 11:29 AM
We have not tested this before our latest 1.8.38 upgrade and before we added our custom profile fields. And we can't test it by removing it either as it might delete existing entry's from our users (900+):
We added the following custom profile fields (attached picture).
I'm now using the users & groups > Users (left) Views (box on the right) > "Manage Views"> 'Create New View'.
URL: https://www.xx.xx/admin/index.php?module...ews&do=add
We create a new title (1word) add in a Enabled function like Avatar and when hitting save we get the error1.png as attached:
'This page isn't working'.
www.xxx is currently unable to handle this request
HTTP ERROR 5000.
In the error log I found this at that exact time stamp:
[Tue Oct 22 12:44:30.040584 2024] [lsapi:error] [pid 187846:tid 139716074559232] [client 147.161.133.31:40191] [host xxx.x.xx] Backend fatal error: PHP Fatal error: Uncaught mysqli_sql_exception: Unknown column 'custom_profile_fields' in 'field list' in /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php:335\nStack trace:\n#0 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(335): mysqli_query()\n#1 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(378): DB_MySQLi->query()\n#2 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(839): DB_MySQLi->write_query()\n#3 /home/u151436p143097/domains/x.xx/public_html/admin/inc/functions_view_manager.php(109): DB_MySQLi->insert_query()\n#4 /home/u151436p143097/domains/x.xx/public_html/admin/modules/user/users.php(149): view_manager()\n#5 /home/u151436p143097/domains/x.xx/public_html/admin/index.php(834): require('/home/u151436p1...')\n#6 {main}\n thrown in /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php on line 335\n
mybb 1.8.38
PHP 8.2.18
SQL 10.6.18
What is it what I could change to make it work or is this a bug in the code?
We added the following custom profile fields (attached picture).
I'm now using the users & groups > Users (left) Views (box on the right) > "Manage Views"> 'Create New View'.
URL: https://www.xx.xx/admin/index.php?module...ews&do=add
We create a new title (1word) add in a Enabled function like Avatar and when hitting save we get the error1.png as attached:
'This page isn't working'.
www.xxx is currently unable to handle this request
HTTP ERROR 5000.
In the error log I found this at that exact time stamp:
[Tue Oct 22 12:44:30.040584 2024] [lsapi:error] [pid 187846:tid 139716074559232] [client 147.161.133.31:40191] [host xxx.x.xx] Backend fatal error: PHP Fatal error: Uncaught mysqli_sql_exception: Unknown column 'custom_profile_fields' in 'field list' in /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php:335\nStack trace:\n#0 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(335): mysqli_query()\n#1 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(378): DB_MySQLi->query()\n#2 /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php(839): DB_MySQLi->write_query()\n#3 /home/u151436p143097/domains/x.xx/public_html/admin/inc/functions_view_manager.php(109): DB_MySQLi->insert_query()\n#4 /home/u151436p143097/domains/x.xx/public_html/admin/modules/user/users.php(149): view_manager()\n#5 /home/u151436p143097/domains/x.xx/public_html/admin/index.php(834): require('/home/u151436p1...')\n#6 {main}\n thrown in /home/u151436p143097/domains/x.xx/public_html/inc/db_mysqli.php on line 335\n
mybb 1.8.38
PHP 8.2.18
SQL 10.6.18
What is it what I could change to make it work or is this a bug in the code?