im trying to update my old theme and came acros a really weir error. this is the output i get:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<link rel="stylesheet" href="style.css">
<script src="modernizr-2.6.2.js"></script>
<!--[if (gte IE 6) & (lte IE 8)]><script src="selectivizr-1.0.2.js"></script><![endif]-->
<title>
<b>Fatal error</b>: Call to a member function getNumImages() on a non-object in <b>/Users/michalrusina/Sites/zenphoto/zp-core/template-functions.php</b> on line <b>1905</b>
the weird thing is that even when i remove all the contents of header.php, this error and the html stays there. the theme (in development) can be downloaded at storage.michalrusina.sk/m9.zip.
thanks for help.
Comments
Why do you have a new account actually, shouldn't you already have one here on the forum?
i could not remember my old login so i created a new one (its been a while).
Also, do you get the error with official themes as well? If so you probably should try a reupload of the zp-core files.