• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

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

Started by CodeALot, March 24, 2024, 02:39:12 PM  ( Read 12,515 times )

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

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):


    dbs

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

      \n\n