(2016-03-28, 18:07:53)tuxophil Wrote:(2016-03-28, 12:09:17)jwzumwalt Wrote: What specific edit did you do on line #327 ?
The offending line is:
I moved the line with the string cast up and replaced (string)$data->thumbnail by $thumbnail. The code now reads:Code:if(!empty((string)$data->thumbnail)) { // Does a thumbnail exist with the post?
The output I gave in my previous comment on this issue was given by the "diff" command. It's a very valuable and widely-used tool when handling code of all sorts.Code:$thumbfile = (string) $data->thumbnail;
if(!empty($thumbfile)) { // Does a thumbnail exist with the post?
// Output the HTML for the image
Thx That fixed it.
Now the blog is over riding my startup page and made it blank.
It looks like maybe the db has not been initialized.
Any attempt to use the backend gives this error:
Notice: Undefined index: bloghelp (or blogcreatepost, etc ) in <site>/plugins/gs-blog/inc/adminFunctions.php on line xx.
(usually line #24, 26, or 67)
Thanks,
jwzumwalt
(\__/)
(='.'=)
(")_(")
jwzumwalt
(\__/)
(='.'=)
(")_(")