• Resolved aleks1155

    (@aleks1155)


    Hi,

    it looks like the plugin doesn’t support PHP 8.1 at the moment.

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /Users/…/plugins/wp-sentry-integration/build/vendor/clue/stream-filter/src/functions.php on line 242

    The reason is the package “clue/stream-filter” (which is a dependency of “php-http/curl-client” via “php-http/message”). This package should be updated to the version ^1.6:

    1.6.0 (2022-02-21)

    Feature: Support PHP 8.1 release.

    $ composer why clue/stream-filter
    php-http/message 1.13.0 requires clue/stream-filter (^1.5)

    Is it possible to fix this in the next days? ??

    Thx!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author stayallive

    (@stayallive)

    That update is already bundled with the pluign since version v4.14.0 (https://github.com/stayallive/wp-sentry/commit/d76b42de541596e2b12b9aa2776eac197b6dd547), so unless you are on a really old version of the plugin, 1.6.0 of clue/stream-filter is already bundled for a few months.

    Also the error you are mentioning has nothing to do with PHP 8.1 but general out of memory condition, this can have a lot of reasons but I suggest you take a look at the event or exception Sentry is capturing which causes it to run out of memory sending it to the Sentry server.

    Thread Starter aleks1155

    (@aleks1155)

    @stayallive thanks a lot, you’re right, it was about the memory limit (too low value for fresh installed php 8.1).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.1 support’ is closed to new replies.