• Resolved imbexport

    (@imbexport)


    Hello, there is an issue of Illegal string offset. I’m using the following PHP code but receiving an error while using the multi-currency plugin.

    PHP Code

    public function get_format_setting( $arg ) {
    $order_id = $arg[‘order’]->get_id();
    $order_info = get_post_meta( $order_id, ‘wmc_order_info’, true );
    $currency = $arg[‘order’]->get_currency();
    $currency_pos = $order_info[ $currency ][‘pos’];
    switch ( $currency_pos ) {
    case ‘left’:
    $this->format = ‘%1$s%2$s’;

    Error

    Price
    Warning: Illegal string string ‘TRY’ in /home/dccompon/public_html/slip-ring.com/wp-content/plugins/woocommerce-multi-currency/admin/order.php on line 217

    Warning: Illegal string offset ‘pos’ in /home/dccompon/public_html/slip-ring.com/wp-content/plugins/woocommerce-multi-currency/admin/order.php on line 217

    Kindly give your opinion that how we can solve this issue. Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    You wrote in the wrong support. This plugin is called differently and does not have such files.

Viewing 1 replies (of 1 total)
  • The topic ‘Price Warning: Illegal string offset ‘TRY’ in’ is closed to new replies.