WebsiteBaker Support (2.11.x) > General Help & Support

New errormessages in errorlog

(1/1)

CodeALot:
After upgrading from RC2 to 2.11 (final), I get a lot of errormessages in my errorlog:

--- Code: ---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"
--- End code ---

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

Luisehahne:
Hi,

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

Dietmar

dbs:
Seems in a droplet in line 5 you will find the "$wb->preprocess".
Remove or comment out the whole line.

CodeALot:
Found the 'culprit', there was a line

--- Code: ---$wb->preprocess($wb_page_data);
--- End code ---
in the ShortURL-droplet.
 
I commented the line out and it still seems to work ok. No more additional errors in the log.

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

Navigation

[0] Message Index

Go to full version