• Resolved GldRush98

    (@gldrush98)


    Hello, I ran in to a problem with this plugin. When upgrading from PHP 8.3 to 8.4, the plugin causes a memory allocation error:

    [28-Feb-2025 16:02:14 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:26 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:29 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:31 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:33 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:41 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:04:43 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:06:03 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2822 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:08:26 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2687 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:08:42 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 864 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:08:55 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2687 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:09:16 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2687 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:10:35 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 864 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:13:16 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 1041 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:13:58 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 1041 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:14:19 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 1041 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:14:34 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 1059 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:14:59 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2746 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:19:55 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 882 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [28-Feb-2025 16:20:07 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 2725 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273

    Adjusting php memory limits does not fix the error. Downgrading to PHP 8.3 does fix the issue.

    Can you take a look at the error with 8.4? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Vishali Tayal

    (@vishali009)

    Hi @gldrush98 ,

    Thank you for using our plugin. I have reviewed the error you shared, and it doesn’t appear to be related to our plugin. Could you please try deactivating all other plugins one by one to identify the cause? Alternatively, could you let us know which shortcode you are using so we can investigate the issue further on our end?

    Thanks & Regards

    Thread Starter GldRush98

    (@gldrush98)

    I deactivated all plugins aside from the Event Calendar and this plugin and I am still getting crashes directly caused by placing the shortcode on the home page.

    [03-Mar-2025 19:42:07 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [03-Mar-2025 19:42:46 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [03-Mar-2025 19:43:16 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [03-Mar-2025 19:43:25 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [03-Mar-2025 19:43:29 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273
    [03-Mar-2025 19:43:47 UTC] PHP Fatal error: Possible integer overflow in memory allocation (2 * 3578 + 32) in [DOCROOT]\wp-includes\shortcodes.php on line 273

    Here is the shortcode I use, but ANY shortcode is causing the crash with this plugin.

    [events-calendar-templates template="default" style="style-1" category="all" date_format="full" start_date="" end_date="" limit="6" order="ASC" hide-venue="no" time="future" featured-only="false" columns="2" autoplay="true"]

    If you’re not seeing this, then it could be something unique to my system, but I’m not sure what or what. It’s a fairly basic site, and I run multiple other WP sites with various plugins. So far this has been the one snag with going to 8.4. I can’t figure out why.

    • This reply was modified 1 year, 2 months ago by GldRush98. Reason: redacted site name
    • This reply was modified 1 year, 2 months ago by GldRush98.
    Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @gldrush98 ,

    I have tested the plugin with PHP 8.4, but we did not encounter any issues on our end. We will reverify the plugin once hosting providers support PHP 8.4 . In the meantime, we recommend using PHP 8.3.

    Thanks & Regards

    Thread Starter GldRush98

    (@gldrush98)

    Indeed it does not seem like the plugin itself but rather something in my environment that is colliding with the plugin some how. I have not figured out what it is.

    I took the time to set up something completely fresh and your plugin works fine under php 8.4 in that environment. Thanks and sorry for the false report.

    • This reply was modified 1 year, 1 month ago by GldRush98.
    Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @gldrush98,

    Thank you for the update! No worries at all – I’m glad to hear the plugin works fine in the fresh environment. It sounds like it’s a conflict somewhere in your original setup, but it’s great that you were able to narrow it down. If you run into any more issues or need further assistance, feel free to reach out. Appreciate your patience, and no need to apologize – these things happen!

    Thanks & Regards

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

The topic ‘Plugin crashing under PHP 8.4’ is closed to new replies.