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

Search function does not work in WB-Version 2.12.1

<< < (2/3) > >>

henri:
Hi jacobi22,

I have enabled PHP error level: Production in admin. This is off by default.

Page of template Aeromsting I have refreshed in browser and in wb error log the following error message is displayed:

"created: [Sat, 12 Jan 2019 10:50:09 +0000]
Sat, 12 Jan 2019 10:50:24 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess"
Sat, 12 Jan 2019 10:50:25 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess""

Luisehahne:
Kommentiere im entsprechenden Droplet die Zeile 34  mit frontend->preprocess aus, dann ist der errorlog Entrag Geschichte

In the corresponding droplet, comment out the line 34 with frontend->preprocess, then the errorlog stay clean.

Dietmar

henri:
Hi jacobi22 and Dietmar,

I have renewed page of template Aeromsting in browser.
Typed in search window and press enter.
Get blank page.
In wb error log there was an error message about module download gallery 3
Have removed module download gallery 3.
Now the search function works in template Aeromsting.

But now there is wb error log:

"created: [Sat, 12 Jan 2019 11:04:32 +0000]
Sat, 12 Jan 2019 11:04:50 +0000 [E_DEPRECATED] /modules/imagegallery/search.php:[73] from /framework/frontend.functions.php:[240] require "Function create_function() is deprecated"
Sat, 12 Jan 2019 11:04:50 +0000 [E_DEPRECATED] /modules/imagegallery/search.php:[74] from /framework/frontend.functions.php:[240] require "Function create_function() is deprecated"
Sat, 12 Jan 2019 11:04:50 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess"
Sat, 12 Jan 2019 11:04:51 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess""

Still can not select another template for search


jacobi22:
is it possible, to post the file "search.php"  (or the complete module) "imagegallery" here as ZIP-File - otherwhise pls send me a email with this

to the other messages with the preprocess . see posting from dietmar
to found the correct droplet without a lot of work, go to the frontend, open the start page, then check the WB-error.log (X-Button in WB-Backend), delete here all errors, reload the frontend and check the error again? Do you have now the error with preprocess?
check at first your Template - index.php - do you use there a Droplet (for example [[shorturl]]) ?
If YES, check all used Droplet in this index.php - do you found there a line with preprocess
here an example from the Short-url-Droplet (all versions)

--- Code: ---$wb->preprocess( $wb_page_data); 
--- End code ---
Delete the line(s) like this or deactivate it with a double slash in the front of this line



If you dont have a droplet call in your index.php from the frontend template, check the section on the first page. is there a Droplet call? maybe inside of a wysiwyg-section?

check after every step the error.log and delete possible other messages. maybe, it needs a while, but if you go step by step, you found it  ;-)

Alternative solution: give me access as WB-Super-admin and for FTP and i fix the problem

henri:
Hi jacobi22 and Dietmar,

Another image gallery gives an error message as shown in my previous message.
In Modify Page I have set Search function to Off.
After typing search in Aeromsting I get only the following error message in wb error log:

"created: [Sat, 12 Jan 2019 11:45:46 +0000]
Sat, 12 Jan 2019 11:45:59 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess"
Sat, 12 Jan 2019 11:46:00 +0000 [E_USER_DEPRECATED] /framework/class.frontend.php:[335] from /modules/droplets/droplets.php(34) : eval()'d code:[5] frontend->preprocess "invalid method call: frontend::preprocess""

Still can not select another template for search

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version