• Resolved Urielts

    (@urielts)


    Hey Guys,

    I help manage a few dozen WordPress websites and as of the latest version of Responsive Menu (4.1.12) it seems like the wp_content call stops working on some of the sites. I’ve reviewed the error logs as well as turned on debugging, but nothing shows up that’s a red flag. All other php / wordpress calls appear to be working accordingly.

    Additionally, we’ve updated some sites to the latest version and have experienced no problems what-so-ever. All websites are using the same custom theme and similar plugins.

    Have you had any other reports of this issue? If so, is there anything we can do to address the issue on these sites?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @urielts

    The issue can’t be replicated on our end. Can you please share step-by-step instructions to generate the issue or a screenshot/ screencast if possible so we can check and help you to fix the issue?

    Regards,
    Sumit

    Thread Starter Urielts

    (@urielts)

    Hey Sumit,

    Thank you for the reply! I can provide a list of plugins we’re using on one of the website’s having this issue, but as for the update process, it’s simply just updating the plugins through the WP dashboard.

    Plugin List:
    Advanced Custom Fields PRO
    Akismet Anti-Spam
    Autoptimize
    BackupBuddy
    Contact Form 7
    Contact Form DB
    Crazy Egg
    Favicon by RealFaviconGenerator
    Google Analytics for WordPress by MonsterInsights
    LayerSlider WP
    Redirection
    Responsive Menu
    WordPress Force HTTPS
    WP Rollback
    Yoast SEO

    Additionally, I was tinkering around and have come up with a workaround that is now showing the content again.

    Previously, on the front-page.php & page.php files we were simply using the following call to display the page content:
    <?php the_content(); ?>

    Updating the code to the following seems to be displaying the page content again:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post();
    the_content();
    endwhile; endif; ?>

    Hope this information gives you a better idea of what’s happening. In the meantime, I’ll update the sites that I can with the new content call.

    Hello,
    I got the same issue on wordpress sites created with simple custom themes, basic plugins and got <?php the_content(); ?> went empty. By my side solved going on responsive-menu/v4.0.0/inc/helpers/custom-functions.php and added wp_reset_postdata(); on get_all_rmp_menu_ids function (also added on rmp_get_all_menus function but was the first one creating me problems).

    Hope this can help.

    Regards

    Hi @urielts

    Can you please provide the below-given information?

    1. WordPress version you are using right now.
    2. PHP version.
    3. Database version
    4. Error log if available.

    Regards,
    Sumit

    Thread Starter Urielts

    (@urielts)

    Hey Sumit,

    1. WordPress version: 6.0.1
    2. PHP version: 7.4.29
    3. Database version (not sure what you want here?) MySQL Version: 5.7.26
    4. Error log if available. – No error log

    This specific website is hosted with GoDaddy through a Managed WordPress plan. However, we have websites hosting through Bluehost having the same issue that I’ve had to modify the wp_content call, all with similar versions of WordPress and PHP / MySQL.

    Hi @urielts

    I need to discuss this with my development team. Hopefully, I will get back to you with the solution.

    Regards,
    Sumit

    Hi @urielts

    You need to change some code on the plugin file. Please check the below-given screenshot link for your reference.

    Path: v4.0.0/inc/helpers/custom-functions.php

    Screenshot: https://t1868024.p.clickup-attachments.com/t1868024/a6360bc2-f546-4dab-ace0-a5577f6c9764_medium.png

    Let me know if you need more help.

    Regards,
    Sumit

    Thread Starter Urielts

    (@urielts)

    Hey Sumit,

    Is there anyway you could send me a larger screenshot? The image size is only 300 x 133 and when I zoom in the integrity of the characters is diminished.

    I appreciate your continued help!

    Edit: I realized I could replace medium with large on the file link and was able to make the adjustments.

    I updated a couple of the websites and reverted back to the wp_content call alone. Everything seems to be running smoothly now. Will you be implementing this as a change in an upcoming version?

    @luchiii Thanks for your comment as it seems that’s the path they went here.

    • This reply was modified 2 years, 3 months ago by Urielts.
    • This reply was modified 2 years, 3 months ago by Urielts.

    Hi @urielts

    We will add these changes in the upcoming release.

    Please let me know if you need more help.

    Regards,
    Sumit

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP Content Disappears on Update’ is closed to new replies.