• Resolved rafaviana

    (@rafaviana)


    Hello, my website doesn’t work if your plugin is enabled. Details of the error:

    Um erro do tipo E_ERROR foi causado na linha 90 do ficheiro /home/joanamor/public_html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php. Mensagem de erro: Uncaught Error: Class 'WeakMap' not found in /home/joanamor/public_html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php:90
    Stack trace: 0 /home/joanamor/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(165): DynamicConditions\Pub\DynamicConditionsPublic->__construct('dynamic-conditi…', '1.6.3') 1 /home/joanamor/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(89): DynamicConditions\Lib\DynamicConditions->definePublicHooks() 2 /home/joanamor/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(273): DynamicConditions\Lib\DynamicConditions->__construct() 3 /home/joanamor/public_html/wp-content/plugins/dynamicconditions/dynamic-conditions.php(70): DynamicConditions\Lib\DynamicConditions::run() 4 /home/joanamor/public_html/wp-settings.php(453): include_once('/home/joanamor/…') 5 /home/joanamor/public_html/wp-config.php(88): require_once('/home/joanamor/…') 6 /home/joanamor/public_html/wp-load.php(50): re
    • This topic was modified 5 months, 2 weeks ago by rafaviana.
Viewing 9 replies - 1 through 9 (of 9 total)
  • My Website also has the same errors

    • This reply was modified 5 months, 2 weeks ago by jmtz98.

    At the moment I have solved the problem by installing the previous version before updating the plugin

    Thread Starter rafaviana

    (@rafaviana)

    how can I do that @jmtz98 ?

    I had a backup of the plugin, I deleted the plugin with the update and uploaded the previous one. @rafaviana

    • This reply was modified 5 months, 2 weeks ago by jmtz98.

    Same issue here: PHP Fatal error: Uncaught Error: Class ‘WeakMap’ not found
    (side note: this only appears on php v7.4)

    Is there any indication of when we can expect an update to address this issue.

    With kind regards

    Thread Starter rafaviana

    (@rafaviana)

    No feedback from the plugin author to date…

    Ronaldt

    (@neejoh)

    Same here, running a WP CLI command to clear Elementor cache. This runs in PHP 7.4, throwing the following fatal error:

    PHP Fatal error:  Uncaught Error: Class 'WeakMap' not found in /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php:90
    Stack trace:
    #0 /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(165): DynamicConditions\Pub\DynamicConditionsPublic->__construct()
    #1 /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(89): DynamicConditions\Lib\DynamicConditions->definePublicHooks()
    #2 /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/Lib/DynamicConditions.php(273): DynamicConditions\Lib\DynamicConditions->__construct()
    #3 /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/dynamic-conditions.php(70): DynamicConditions\Lib\DynamicConditions::run()
    #4 /home/USER/domains/gemaaktindenoor in /home/USER/domains/DOMAINNAME/public_html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php on line 90

    By the looks of it there is no problem on PHP 8.x but we cannot update the PHP version on CLI just yet.

    Plugin Author crazypsycho

    (@crazypsycho)

    With v1.7.0 we added support for php 7.4 again.

    Thanks @crazypsycho! Just tested and it seems to indeed be fixed for me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.