WordPress.org

Ready to get started?Download WordPress

Forums

Global Content Blocks
[resolved] 1.5 is broken with WP3.2.1 (8 posts)

  1. Start1
    Member
    Posted 2 years ago #

    After installing 1.5 I can't edit or make new blocks. The content field is not there anymore. See pic. http://prntscr.com/b9jp4

    The blocks are showing on the site.

    It's a wonderful plugin, that I use in over 700 posts. So it would be nice if I got it to work again ;)

    http://wordpress.org/extend/plugins/global-content-blocks/

  2. benz1
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry to hear you're having problems with v1.5. I've been using it extensively myself without problem and have not had any reports from other users so it may be a conflict with one of your other plugins.

    Do you mean WP3.4.1 or are you still using 3.2.x? Have you tried in a different browser? Can you also please let me know what browser and version you're using?

    A list of plugins you're using and the theme would also be helpful if you are able to provide.

    Thanks,
    Benz1

  3. fduperier
    Member
    Posted 2 years ago #

    I have the same issue as Start1.
    I'm running WP 3.4.1 and the last version of global content block. This combination doesn't work. I have an issue on javascript file editor_plugin.js on line 39 :
    if(im.length>1) img=im[1].replace(/^\s+/,"");//ltrim - a white space creeps out in the left; maybe regexe's fault ?

    The problem seems to be that im is null at this point ant it cannot call the method length on null object.
    Maybe just a simple test on im would solve the issue !

    However, on another blog, I use WP 3.4 and the version 1.4.1 of your plugin. This work correctly !

  4. fduperier
    Member
    Posted 2 years ago #

    After testing on my website, this is a solution :
    if(im !== null && im.length>1) img=im[1].replace(/^\s+/,"");//ltrim - a white space creeps out in the left; maybe regexe's fault ?

    I'm not an expert in JavaScript so you may have a better solution.

  5. benz1
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the info. I'm unable to reproduce the problem and in theory it shouldn't be an issue but I will add your fix and do an update on the repository later today to 1.5.1. Hopefuly this will resolve it.

    Thanks,
    Benz1

  6. benz1
    Member
    Plugin Author

    Posted 2 years ago #

    Global Content Blocks v1.5.1 is now available on the repository that includes a fix for this issue.

    Please let me know if you have any further problems.

    If you use and like this plugin please give it a rating at http://wordpress.org/extend/plugins/global-content-blocks/ :-)

    Thanks,
    Ben

  7. fduperier
    Member
    Posted 2 years ago #

    Hi Ben !

    Thank you very much for your reactivity !
    I have updated the plugin with the new version and it works perfectly now (without any personal change).

    Thanks
    Fred

  8. benz1
    Member
    Plugin Author

    Posted 2 years ago #

    Cool, glad to hear it :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.