• Resolved sissi30

    (@sissi30)


    Notice: Undefined variable: post_id_array in wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 356

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter sissi30

    (@sissi30)

    Hello,

    There’s seemly be a bug on latest update.

    Please can you take a look ?

    Thanks.

    • This reply was modified 3 years, 9 months ago by sissi30.
    Plugin Support jaysupport

    (@jaysupport)

    Hi sissi,

    Thank you for letting me know about this. Could you please let me know exactly where you are getting this notice and what action you are talking to make it happen? And did it only start in the most recent version of the plugin (i.e. if you roll back to the previous version, it doesn’t happen)?

    Hi, I am having this problem as well! I hope you can help. FAQ page with problems is here: https://cornerstoneranch.org/cornerstone-ranch-faqs/
    FAQs don’t show up until you get past all the:
    Notice: Undefined variable: post_id_array in /home/m5docibf1zq9/public_html/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 356

    Plugin Support jaysupport

    (@jaysupport)

    Thank you for providing your page/URL. We’ll test this out and correct/eliminate the notices as soon as possible. In the meantime, they are indeed notices, and not errors. With that in mind, if/when you go live and disable the debug mode, they will not show and will have no effect on functionality.

    Thanks Jay, Can you tell me where/how to disable the debug mode?

    Also, how do I delete all of the posts showing up at the top of the FAQ page? Thanks.

    Same problem over here. We just installed the plugin, added a couple of questions and created a basic page with the Display FAQs block on it.

    Then on this page we have first two PHP notices, and then down below it starts the listing of the questions.

    See screenshot: https://i.ibb.co/6wkqTbC/Screenshot-from-2020-07-14-21-12-09.png

    Plugin Support jaysupport

    (@jaysupport)

    To disable debug mode, you can navigate to the “wp-config.php” file and make the following changes:

    Change
    define( 'WP_DEBUG', true );
    to
    define( 'WP_DEBUG', false );

    And, if the following line is present:
    define( 'WP_DEBUG_DISPLAY', true );
    Change it to:
    define( 'WP_DEBUG_DISPLAY', false );

    For more information, you can see here: https://wordpress.org/support/article/debugging-in-wordpress/

    Also, what posts at the top of FAQ page are you talking about?

    • This reply was modified 3 years, 9 months ago by jaysupport.

    Thanks. Accessing and changing:
    define( ‘WP_DEBUG’, true );
    to
    define( ‘WP_DEBUG’, false );

    Worked like a charm.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Undefined variable innDisplayFAQs.php on line 356’ is closed to new replies.