• Resolved victoriei101

    (@victoriei101)


    Hello, just want to let you know that the 1.7.2 update is not working. I’ve attached a snapshot of what is does. Basically, it removes many elements from the page, reduces the layout to a smaller size and displays a critical error. Hope this helps

    https://ibb.co/VBS7BvJ

Viewing 4 replies - 1 through 4 (of 4 total)
  • Still broken after the update – please fix asap.

    Thread Starter victoriei101

    (@victoriei101)

    These are the errors i got:

    Fatal error: Uncaught TypeError: Argument 1 passed to DynamicConditions\Pub\DynamicConditionsPublic::parseShortcode() must be of the type string or null, array given, called in /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php on line 595 and defined in /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php:663 Stack trace: #0 /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php(595): DynamicConditions\Pub\DynamicConditionsPublic->parseShortcode() #1 /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php(414): DynamicConditions\Pub\DynamicConditionsPublic->getCheckValue() #2 /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php(379): DynamicConditions\Pub\DynamicConditionsPublic->loopValues() #3 /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php(296): DynamicConditions\Pub\DynamicConditionsPublic->checkCondition() #4 /var/www/h in /var/www/html/wp-content/plugins/dynamicconditions/Public/DynamicConditionsPublic.php on line 663

    Plugin Author crazypsycho

    (@crazypsycho)

    This happens if you compare by month or day.
    I have a hotfix for that, just replace the parseShortcode-Method in Line 663 with following.
    I will deploy a new version soon.

    private function parseShortcode( $value, array $settings = [] ) {
        if ( !is_string( $value ) ) {
            return $value;
        }
        if ( empty( $settings['dynamicconditions_parse_shortcodes'] ) ) {
            return $value;
        }
        return do_shortcode( $value );
    }
    Thread Starter victoriei101

    (@victoriei101)

    1.7.4 fixed it.

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