• Resolved Fred17

    (@f14m07)


    Hi,

    It doesn’t prevent it from working, but it may be a mistake that needs to be corrected at a later date. Here are a few lines from the PHP log file:

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “products_row_start” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1300

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “products_list” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1300

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “products_per_row” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1301

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “view_product_btn” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1319

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “products_item” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1370

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “products_row_end” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1376

    [15-Mar-2025 10:11:26 UTC] PHP Warning:  Undefined array key “page” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1407

    No other issues

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us and reporting these warnings. I have submitted a message to the developers to investigate further your findings.

    Kind regards.

    Plugin Author mra13

    (@mra13)

    @f14m07 Could you please share the exact shortcode you’re using? Once I can reproduce the issue on my site with the same shortcode, we’ll work on resolving any warnings that may arise.

    Thread Starter Fred17

    (@f14m07)

    It’s [asp_product id=”11248″] and I have the last plugin version

    Plugin Author mra13

    (@mra13)

    Thank you. The warning you explained seem to be coming from the following “Show all products” shortcode:

    [asp_show_all_products]

    Do you have this shortcode on any of your pages?

    Thread Starter Fred17

    (@f14m07)

    I use only one time the short code asp_product on a page. May be it is in admin?

    I can’t reproduce the warning on my Local site

    Plugin Author mra13

    (@mra13)

    I need a way to reproduce the error. If you reset that error log file, do you see it on the site again? So you can see which page creates it.

    Thread Starter Fred17

    (@f14m07)

    As you can see I had a second time those lines , but with one more (decrement):

    [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “products_row_start” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1300 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “products_list” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1300 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “products_per_row” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1301 [18-Mar-2025 10:11:14 UTC] PHP Warning: Decrement on type null has no effect, this will change in the next major version of PHP in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1305 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “view_product_btn” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1319 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “products_item” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1370 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “products_row_end” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1376 [18-Mar-2025 10:11:14 UTC] PHP Warning: Undefined array key “page” in /home/taeq4768/vogue-et-reve.fr/wp-content/plugins/stripe-payments/includes/shortcodes/class-shortcode-asp.php on line 1407

    It is three days later, and about the same hour. I have only one page with the shortcode. But how fond the responsible page of this warning. I will investigate …

    Plugin Author mra13

    (@mra13)

    It looks like an external bot might be crawling your site without passing the expected parameters or arguments, which is triggering this issue. That’s okay — I’ll add an additional safeguard in the referenced code to prevent any warnings, even if an external bot queries it unexpectedly.

    Plugin Author mra13

    (@mra13)

    I have released an update to the plugin. Please let me know if you see the same issue after you after to the new version.

    Thread Starter Fred17

    (@f14m07)

    Thanks for the update. I’ll come back if necessary

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘just warnings ?’ is closed to new replies.