• Resolved rrenault

    (@rrenault)


    Hi everyone,

    PHP 8.0 active support ended over a year ago, most hostings are requesting that we update the PHP version by April 2024.

    When updating the PHP version to 8.1, 8.2 or 8.3 the plugin throws a fatal error:

    Uncaught Exception: Serialization of ‘DOMDocument’ is not allowed, unless serialization methods are implemented in a subclass /wp-content/plugins/integration-dynamics/src/Cache/PhpFastCache.php:1191 Stack trace: #0 [internal function]: DOMNode->__sleep()

    Is it possible to update the plugin to be compatible with the new PHP versions before the hosting deadline?

    The plugin is vital for our business, since it sends the leads to our Dynamics.

    Thank you.

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

    (@alexacrm)

    We don’t actually implement caching ourselves as such and delegate it to whatever mechanism is available. What we see often is the errors caused by the system reporting memcache availability but failing to actually implement it. If this is one of those scenarios, you can try resolving it by defining WPCRM_CACHE_METHOD and setting it to one of the following values

    • off
    • wpcache
    • files

    for example:

    define(WPCRM_CACHE_METHOD, 'files');

    Let us know if it solved the problem.

    Thread Starter rrenault

    (@rrenault)

    Hi,

    setting to off fixed the problem.

    • This reply was modified 8 months, 2 weeks ago by rrenault.
    • This reply was modified 8 months, 2 weeks ago by rrenault.
    • This reply was modified 8 months, 2 weeks ago by rrenault.
    Plugin Author alexacrm

    (@alexacrm)

    Yes, switching the cache off bypasses any issue ?? Unfortunately it’s detrimental to the performance so we’ll look into fixing it in the next build.

    If you’re not too far into the plugin use, or if you use twig only, I recommend taking a look at our v.Next Dataverse plugin that does what this one does and more. And has been tested with PHP 8.2. The plugins can co-exist in the same instance so there is no harm in trying ??

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