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

Offline CodeALot

  • Posts: 451
  • 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

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4381
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
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
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline dbs

  • Betatester
  • **
  • Posts: 8144
  • 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.

Offline CodeALot

  • Posts: 451
  • 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.

Offline Gast

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

 

postern-length