@digiman1 1.0.1 release doesn’t add anything new but it prevents direct
access for the plugin file by checking the “ABSPATH”. nothing more than
that. I’ve just tested the plugin and seemed to work perfectly, please can you post the error message to check . thanks
Hey @hyyan! Thanks for the prompt reply!
The beginning of the error message is as above… here’s the entirety:
Parse error: syntax error, unexpected T_FUNCTION in /home/content/d/i/g/digiman1/html/visagebase/wp-content/plugins/flexible-widget-title/flexible-widget-title.php on line 16
And just to be clear, this error occurs on activation of the plugin. I install the plugin in the plugin manager, then tell it to activate, and get the above. I *could* try simple manual installation via FTP, but I figured that wouldn’t be a likely solution.
I also can hop in later, disable everything else (plugin-wise) and retest to make sure nothing’s interfering. But, I figured I’d check with you first.
I’m *always* doing a bunch of CSS shenanigans on my sites to allow me to do what your plugin does… I’d *really* like to have a cleaner, easier-to-implement solution like you’re working on. It looks *so* promising!
Thanks.
@digiman1 Just to be sure are you using php5.3 and above ? because the plugin makes use of Anonymous functions which become available in PHP5.3
@hyyan – Hmm. I’m not sure (I’ll go back and check), but I *think* my (older GoDaddy shared) server is running 5.2.something… I’ll go confirm, and let you know.
Thanks for the tip!
Hey, @hyyan –
Well… that was it. And here I was, so certain that my environment hadn’t changed. I went back to my other successful 1.0 install – or what I *though* was my install – and I had the wrong host. (My bad – sorry for sounding so certain, and thanks for the nudge!)
*This* one, old GoDaddy, *was* running PHP 5.2 – and as soon as I upgraded to PHP 5.3 – bingo. Works like a charm.
LOVE the plugin. Seems so simple, yet *so* useful. Great work – well done!
@digiman1 Thanks , and I am glad to help