Quote:
Originally posted by Grendel
Hm, something is wrong:
|
Sorry.. "before" in the second step must be "after". ie.
Find
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
function getpostbit($post) {
// sorts through all the stuff to return the postbit template
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
After that add
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
extract ($GLOBALS);
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This will fix "Call to a member function on a non-object " error..
However there should not be any parse error, there is no here.. I tested it and it's working..