WebsiteBaker Support (2.13.x) > Modules

Error in $wb->get_user_id() value, causing problems in MiniForm

(1/1)

CodeALot:
/framework/class.wb.php contains an error, resulting in an invalid value for $wb->get_user_id()

This causes an error in storing form data in MiniForm 0.15.4

WB 2.13.5 -r220, patched r223
PHP 8.1.27 & PHP 8.3.3 tested


--- Code: ---There was an uncatched exception
    Incorrect integer value: '' for column `h_00036d5f_bbaf`.`wb_mod_miniform_data`.`user_id` at row 1 in line (828) of (/framework/class.database.php):
--- End code ---

dbs:
workaround: find get_user_id() in view.php and replace it with getUserId()

Navigation

[0] Message Index

Go to full version