WordPress.org

Ready to get started?Download WordPress

Forums

Multiple content blocks
[resolved] Fatal error when updating. (7 posts)

  1. Luke
    Member
    Posted 1 year ago #

    I encountered a fatal error when updating the plugin. I reactivated the plugin but now the additional content blocks are not available in the page edit screen. I can edit them through the Custom Fields area, but it's strange. Working on other sites of mine.

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

  2. Trendwerk
    Member
    Plugin Author

    Posted 1 year ago #

    What version of Multiple content blocks are you running?

    Can you try commenting line 92 of assets/inc/class.MCB.php (delete_post_meta) and visit the page in the front-end?

  3. Luke
    Member
    Posted 1 year ago #

    That worked. Should I just leave it commented that way?

  4. Trendwerk
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, I'll be working on a fix. It will be incorporated in the next version, so don't worry about updating.

    When you rename or delete a block in your template, the old block will probably still exist, but that will be fixed too. If you need to remove a block, just uncomment that line and revisit the edit page.

    The problem probably lies in server settings, so it's kind of hard to debug the problem. But your comment helped alot, so thanks!

  5. Luke
    Member
    Posted 1 year ago #

    Thanks for the great work on the plugin. Glad to see it's still being updated. I could use custom meta boxes, but this is always very quick and painless to use.

  6. Trendwerk
    Member
    Plugin Author

    Posted 1 year ago #

    The fix (better yet; error catch & message) has just been committed. Please let me know if this works for you!

  7. Luke
    Member
    Posted 1 year ago #

    Working great now. Removed and added new block with no problem. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.