Viewing 12 replies - 1 through 12 (of 12 total)
  • As far as I know, and with my personal tests, it should work just fine with 4.5.x. If not let me know and I’ll look into it.

    Cheers
    Johan

    I’m trying to install it on WP 4.5.2 and it’s giving me the following error when I try to activate it:

    Parse error: syntax error, unexpected T_STRING in /wp-content/plugins/post-snippets/post-snippets.php on line 81

    Thread Starter slobizman

    (@slobizman)

    Thanks for posting batfan. I’ll wait to hear what Johan says before I upgrade to 4.5.x.

    Have you had a chance to check on this, Johan? I’m also getting the same Parse Error cited by batman with WP 4.5.2.

    Thanks very much for your time on the plugin.

    Hi Johan

    I am also having this same Parse Error issue when trying to (re)activate the plugin, which up until updating to 4.5.2 was working perfectly.

    Strangely, I tried re-installing WP 4.4.3 but Post Snippets still would not activate…

    Thanks for the plugin, and I appreciate you looking into this,
    Ben

    Thread Starter slobizman

    (@slobizman)

    The following is made in regards to all plugin authors, not just Johan. When you have a plugin you that really love, really rely on, give a donation to the author. I know I gave something to Johan last year. 1) I wanted to show my appreciation, and 2) I want the plugin to continue to be supported. I do this with free plugins that are critical to me.

    You can donate to Johan at: https://johansteen.se/donate/

    Back to the parse error…

    I, too, am waiting to to hear about this parse error before I update WP, as it would be a pretty big problem for me if it didn’t work. I’m sure Johan will reply to us here shortly.

    Perhaps it only happens for some people because it’s related to the particular content of the snippet? To those having issues, are there any special characters or html in your content? Have you tried deactivating the the snippets one at a time to see if it’s one in particular? Or does it even throw off the error if there are no snippets active?

    Are there any people running the plugin on 4.4.3 without any issues, and what kind of content is in the snippets?

    To those having issues, are there any special characters or html in your content? Have you tried deactivating the the snippets one at a time to see if it’s one in particular? Or does it even throw off the error if there are no snippets active?

    The issue I’m having (which I believe is the same as has been mentioned earlier in the thread) is that the plugin won’t actually activate from within the plugins section of the WP admin panel.

    In my case, the whole site went down when I updated to 4.5.2… I then removed all the plugins from the site via ftp (which restored the site) and tried reactivating them one by one: the only plugin that refused to reactivate was Post Snippets.

    The pages that include Post Snippets shortcodes all still appear, but just show the raw snippets code (for example https://saltofthesound.com/inspiration/christian-meditation-music/ – scroll down to the body of the article to see what I mean).

    Hope that explains the issue a little further!

    Thread Starter slobizman

    (@slobizman)

    @beneqo:

    The pages that include Post Snippets shortcodes all still appear, but just show the raw snippets code (for example https://saltofthesound.com/inspiration/christian-meditation-music/ – scroll down to the body of the article to see what I mean).

    I saw it when it wasn’t working at first, but I just looked now and I don’t see the shortcodes. Is it working now, or did you just remove or replace the shortcodes?

    @slobizman

    Yeah, unfortunately I wasn’t able to fix the problem with Post Snippets – I tried reverting WP to a previous version, fully reinstalling Post Snippets, and checking whether the issue was an incompatibility with another plugin – but ended up having to use a different plugin (Shortcoder) which achieves a similar result, albeit in a slightly less neat way.

    So my recommendation would be to not update WP until Johan (or others) confirm the plugin is fully compatible.

    Good luck!

    Thread Starter slobizman

    (@slobizman)

    @beneqo

    thanks for you reply!

    Thread Starter slobizman

    (@slobizman)

    I held my breath and updated WordPress to 4.5.2 on one of the sites. Success. I then updated WP on two other sites. They worked fine too. After that WP updated itself to 4.5.3 on all sites, and they are still working just fine.

    FYI: In case it helps, I’m running the Genesis framework on all the sites.

    Upgraded to WP 4.5.3 and continued to have this issue, with the newest version of the plugin. At this point, I’m ditching Post Snippets in favor of coding my own shortcodes in functions.php.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Is it working with 4.5.x?’ is closed to new replies.