Jump to content

WireDataDB Showing After Update


Anton Martin
 Share

Recommended Posts

I've recently resurrected an old site for a client and updated Processwire to version 3.0.200 which seems to have been successful with the exception of the text "WireDataDB" displaying at the very top of the site. 

Debug is currently on but the text remains even if I turn it off.

Can anyone help me out?

Link to comment
Share on other sites

Thanks for the re

5 hours ago, szabesz said:

Hi,

Can you be a bit more specific? What is the exact wording of the message and what is its actual source? Do you have a backtrace or something else?

It literally just says WireDataDB just after the <body> tag.  You can view the site here - https://melbournechristmastrees.com/hiatus-home/

Sorry I'm not familiar with what backtrace means.

Link to comment
Share on other sites

Actually that text is located inside the <head> of your page, but the browser moves it in the first line of the body since it's an unknown piece of nothing.
55945665_Schermata2022-11-07alle08_31_58.thumb.png.a362fec50418ee3298947ffa586a6ffe.png

Take a look at your source code there and try to find something related then...

Link to comment
Share on other sites

Thanks for your reply, I really appreciate it.

I found that removing this snippet (which is in the header) gets rid of the issue. Could you possibly advise if there is anything wrong with this code?

 if(in_array($page->id, array(1175, 1177, 1176))){ //checkout centric pages
    require_once('functions/f_orders.php');}

 

Link to comment
Share on other sites

26 minutes ago, Anton Martin said:

Super strange but when I uncommented out the previous code the error was gone!

this is because require_once "loads" the content from the file and displays it ? 

Of course, if you delete the part, it will no longer be displayed.
But it can have negative effects, since you don't seem to know what the included file does.

  • Like 1
Link to comment
Share on other sites

1 hour ago, Anton Martin said:

Oh yeah the require_once file is super important as it contains the payment api stuff. 

Then just have a look inside of the file "functions/f_orders.php"

I Think there's the "WireDataDB" Part ? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...