Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @usenkomaxim
    Thanks for your review.

    Does the shortcode attribute “post_id” have a value?
    ex: [ccc_my_favorite_select_button post_id="123"]

    Does the same thing happen with other posts that use this shortcode?
    Also, what version of PHP are you using?

    Thread Starter usenkomaxim

    (@usenkomaxim)

    I used PHP 8.0.1 (ALT)
    I tried after your question 7.4.14 (ALT). The error disappeared ?? Thank you! I will check your site with this version of PHP

    With other publications there was the same error.

    Shortcodes:
    [ccc_my_favorite_list_results posts_per_page=”100″]

    [ccc_my_favorite_select_button post_id=”” style=””]

    Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hi, @usenkomaxim

    Thanks for your reply and rating.
    I am relieved to hear that the error have disappeared.
    And thank you for letting me know about this bug.

    When writing it directly in the theme code, if the value is “null”, the current post ID is retrieved, but if the value of “post_id” in the shortcode is “null” when editing posts in the admin panel, the warning seems to appear.

    The value is required because the plugin will not work if the value is “null” when used in the post editor in the admin panel.
    However, the warning is not good and I will fix it in the next version.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with the DIVI theme’ is closed to new replies.