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

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.12.x) »
  • General Help & Support »
  • Error message in WebsiteBaker Error log
  • Print
Pages: [1]   Go Down

Author Topic: Error message in WebsiteBaker Error log  (Read 4427 times)

Offline henri

  • Posts: 148
Error message in WebsiteBaker Error log
« on: November 17, 2019, 07:49:51 AM »
In WebsiteBaker Error log I get the following error message:

Sun, 17 Nov 2019 06:09:17 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[351] from /modules/globalblocks/include.php:[67] frontend->preprocess "invalid method call: frontend::preprocess""

I also received this error message in WB version 2.11
After upgrading to version 2.12.2 -r379 I still get this error message with every page I open in the website.

In another website I have done a completely new installation with version 2.12.2-r379. and I don't get an error message there.

PHP error level: Production

PHP Version: 7.3.5
Website Baker Version: 2.12.2 -r379
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Error message in WebsiteBaker Error log
« Reply #1 on: November 17, 2019, 08:40:08 AM »
Hi, in such messages the second part tells you where the problem is.
Code: [Select]
... from /modules/globalblocks/include.php:[67]
Go to this place and remove the whole line with $wb->preprocess or look for a newer version of the module.

You are not the first user with this problem.
If you search the forum for e.g. "preprocess" you will find similar answers.
Logged
https://onkel-franky.de

Offline henri

  • Posts: 148
Re: Error message in WebsiteBaker Error log
« Reply #2 on: November 17, 2019, 09:23:33 AM »
Thanks dbs

Problem solved.
Logged

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Error message in WebsiteBaker Error log
« Reply #3 on: November 17, 2019, 10:37:47 AM »
::preprocess() ist eine Methode, die bereits vor über 5 Jahren auf 'deprecated' gesetzt und mit WB-2.10.0 entfernt wurde.
Sollte diese Funktionalität ausnahmsweise doch einmal wirklich zwingend benötigt werden, kann dafür die API des Modules 'output_filter' genutzt werden:

::preprocess() is a method that was set deprecated over 5 years ago and removed with WB-2.10.0.
If, in exceptional cases, this functionality is really required, the API of the module 'output_filter' can be used for this:

$sContent = OutputFilterApi('ReplaceSysVar', $sContent);
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Error message in WebsiteBaker Error log
 

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