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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.11.x) »
  • General Help & Support (Moderator: Boudi) »
  • New errormessages in errorlog
  • Print
Pages: [1]   Go Down

Author Topic: New errormessages in errorlog  (Read 13015 times)

Offline CodeALot

  • Posts: 579
  • Gender: Male
New errormessages in errorlog
« on: February 21, 2018, 02:35:34 PM »
After upgrading from RC2 to 2.11 (final), I get a lot of errormessages in my errorlog:
Code: [Select]
2018-02-21T13:31:36+00:00 [E_USER_DEPRECATED] /framework/class.frontend.php:[328] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess"
Environment:
Webserver Software: Linux vs5213 4.9.0-0.bpo.5-amd64 #1 SMP Debian 4.9.65-3+deb9u2~bpo8+1 (2017-01-05) x86_64
PHP-Erweiterung: mysqli  Dokumentation curl  Dokumentation mbstring  Dokumentation
PHP-Version: 7.1.10-1+0~20170929170631.9+jessie~1.gbp501135
WebsiteBaker-Version: 2.11.0 -r77
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: New errormessages in errorlog
« Reply #1 on: February 21, 2018, 02:50:19 PM »
Hi,

look in scripts at "$wb->preprocess" and remove the line and than errolor is empty

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: New errormessages in errorlog
« Reply #2 on: February 21, 2018, 03:18:34 PM »
Seems in a droplet in line 5 you will find the "$wb->preprocess".
Remove or comment out the whole line.
Logged
https://onkel-franky.de

Offline CodeALot

  • Posts: 579
  • Gender: Male
Re: New errormessages in errorlog
« Reply #3 on: February 21, 2018, 03:34:59 PM »
Found the 'culprit', there was a line
Code: [Select]
$wb->preprocess($wb_page_data);in the ShortURL-droplet.
 
I commented the line out and it still seems to work ok. No more additional errors in the log.
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: New errormessages in errorlog
« Reply #4 on: February 21, 2018, 04:48:35 PM »
additional info about preprocess()

preprocess was also a old deprecated function to replace wblinks in the content with a "real" link and is since any years a empty function without a job - is only designed to catch possible errors (as in the current case). This has been the case since WB 2.8.1 (I think so)
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.11.x) »
  • General Help & Support (Moderator: Boudi) »
  • New errormessages in errorlog
 

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