Dexels
Forum Replies Created
-
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockThanks, the wp_reset_postdata() works great. I’ve also used wp_query described by Smashing Magazine.
Thanks for your help.
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockHey Harold, It happened again but now I know what’s going wrong.
Between the blocks I have a section with posts. When I added my first post for that section, I saw all the blocks, which are positioned beneath the post section in my code, visable in the editor section of the post. When I posted the post, all content of the blocks below that section disappeared and I got the error Notice: Undefined index: delete_mcb in wp-content\plugins\multiple-content-blocks\assets\inc\class-mcb.php on line 154 again.
When I delete the code for showing the posts, the blocks are working again.
This is the code for my posts section.
<section class="block home-block home-block-referenties"> <div class="inner"> <div class="referenties-intro"> <?php the_block('referenties') ?> </div> <div class="swipe"></div> <ul class="referentie-lijst"> <?php query_posts('cat=1'); while (have_posts()) : the_post(); ?> <li> <div class="referentie-image"><?php the_post_thumbnail('thumbnail'); ?></div> <?php the_content(); ?> </li> <?php endwhile; ?> </ul> </div> </section>
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockHey Harold, we deleted the database and added a new one. It works perfect now.
Bedankt voor je hulp en je fantastische plugin ??
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockHi Harold,
I’m sure it works just fine on a clean install. I’ve worked with your plugin several times and it worked every time.
I think something went wrong when I deleted an inactive block while I activited the same block again in my template. So the block was not inactive anymore. I’m not 100% sure if that was the case but this could have happened.
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockOk, thanks for your time so far. ??
Forum: Plugins
In reply to: [Multiple content blocks] Error after deleting Inactive BlockThanks for your reply.
The notice appeared after deleting an inactive block. I have already 12 good working blocks on the same page. Now I can’t add a new block. It won’t appear when I add it to my template page while the first 12 blocks are still working fine.
I disabled HTTP requests when I started the project.
The steps I do to create a block is inserting <?php the_block(‘name’) ?> in my template page -> save -> refresh the frontpage.
I use MCB a lot with great succes but this never happened before