WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Error in $wb->get_user_id() value, causing problems in MiniForm
  • Print
Pages: [1]   Go Down

Author Topic: Error in $wb->get_user_id() value, causing problems in MiniForm  (Read 9307 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
Error in $wb->get_user_id() value, causing problems in MiniForm
« on: March 24, 2024, 02:39:12 PM »
/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: [Select]
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):
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Error in $wb->get_user_id() value, causing problems in MiniForm
« Reply #1 on: March 24, 2024, 03:43:47 PM »
workaround: find get_user_id() in view.php and replace it with getUserId()
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • Error in $wb->get_user_id() value, causing problems in MiniForm
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2