Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter devtc

    (@devtc)

    I see the errors again, did you change anything with the plugin?

    Error Details
    =============
    An error of type E_ERROR was caused in line 1088 of the file /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php:1088
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/frontend/update.php(84): WOOMULTI_CURRENCY_Data->get_exchange('USD', 'USD,AUD,EUR,CAD')
    #1 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(324): WOOMULTI_CURRENCY_Frontend_Update->update_exchange_rate('')
    #2 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #3 /wordpress/core/6.7.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /wordpress/core/6.7.1/wp-settings.php(704): do_action('init')
    #5 /srv/htdocs/wp-config.php(108): require_once('/wordpress/core...')
    #6 /wordpress/core/6.7.1/wp-load.php(55): require_once('/srv/htdocs/wp-...')
    #7 /wordpress/core/6.7.1/wp-admin/admin-ajax.php(22): require_once('/wordpress/core...')
    #8 {main}
     thrown

    Error Details
    =============
    An error of type E_ERROR was caused in line 1088 of the file /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php. Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/includes/data.php:1088
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/woocommerce-multi-currency/frontend/update.php(84): WOOMULTI_CURRENCY_Data->get_exchange('USD', 'USD,AUD,EUR,CAD')
    #1 /wordpress/core/6.7.2/wp-includes/class-wp-hook.php(324): WOOMULTI_CURRENCY_Frontend_Update->update_exchange_rate('')
    #2 /wordpress/core/6.7.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #3 /wordpress/core/6.7.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /wordpress/core/6.7.2/wp-settings.php(704): do_action('init')
    #5 /srv/htdocs/wp-config.php(108): require_once('/wordpress/core...')
    #6 /wordpress/core/6.7.2/wp-load.php(55): require_once('/srv/htdocs/wp-...')
    #7 /wordpress/core/6.7.2/wp-login.php(12): require('/wordpress/core...')
    #8 {main}
    ?thrown

    • This reply was modified 1 month ago by devtc.
    Thread Starter devtc

    (@devtc)

    I only installed the mkl-form-builder plugin and the field was set to numeric input.

    Here it is in the code:




    case 'number': #>
    <input type="number" class="numeric-readonly" readonly
    <# if ( null !== data.number_field_min ) { #> min="{{data.number_field_min}}"<# } #>
    <# if ( null !== data.number_field_max ) { #> max="{{data.number_field_max}}"<# } #>
    <# if ( null !== data.number_field_step ) { #> step="{{data.number_field_step}}"<# } #>
    <# if ( null !== data.number_field_default ) { #> value="{{data.number_field_default}}"<# } #>
    ><# if ( data.number_field_suffix ) { #>
    <div style="display:inline-block; width:32px;">
    <button class="numeric-updown" onclick="this.parentNode.parentNode.querySelector('.numeric-readonly').stepUp()">+</button>
    <button class="numeric-updown" onclick="this.parentNode.parentNode.querySelector('.numeric-readonly').stepDown()">-</button>
    </div>
    <span class="number-field-suffix">{{data.number_field_suffix}}</span>
    <# } #>
    <# break;

    maybe someone has changed the plugin? Could you help me out what could be the original code instead of this? thanks!

    Thread Starter devtc

    (@devtc)

    hi Marc,

    Could you please help me setting up a CSS config as you suggested?

    Thank you!

    Thread Starter devtc

    (@devtc)

    ok, i’ve sent you a message on that form. thank you

    Thread Starter devtc

    (@devtc)

    Hi,

    Yes, I have a

    Product configurator for WooCommerce addon – Form builder

    configured.

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