The template I’m using tries to use the variable “$data” right at the start of the template code. The variable is not defined in the template file however. After some research I now know it expects this variable to be an array with the data from the “wp_options” table. When I create the array by hand in the code the page loads quite well, but I don’t understand why the $data variable is not loaded automaticly anymore.
This problem occurred after moving the website + database from one hosting location to the other. After that I changed ALL the occurrences of the old URL in the database, so that shouldn’t be the problem.
Can anyone help me out with this problem? Or maybe anyone who knows where this $data variable is filled normally so I can try to find out the problem in that code?