Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter bee15

    (@bee15)

    @wpmudev-support7
    Hi Saurabh, thanks for that.
    I had only tested on my clone site as I was updating a few plugins and wanted to make sure they wouldn’t break the site. However, I decided to update the live site to see if it would send, which it did.
    I think it may be because, with the clone site, the reCaptcha wasn’t active, so it was blocking the form from sending through.
    Thanks again for your prompt and detailed reply.

    Regards,
    Emma

    Thread Starter bee15

    (@bee15)

    Thanks, I have figured out it is connected to the Booster for Woocommerce Plugin, specifically the “Admin Orders List”.
    Though I am unable to figure out which capabilities relate to that plugin on the URE menu. It shows the column, but not the text in the Woocommerce orders page

    Thanks.

    • This reply was modified 1 year, 2 months ago by bee15.
    Thread Starter bee15

    (@bee15)

    Sorry, this has worked for the second issue I was facing, Thanks. However the first is still an issue as I we need to be able to see the order notes, but I have tried changing many capabilities and nothing shows it.
    When all permissions are on however I can see it (i.e. administration)
    The first link in the above message shows what I am referencing.

    • This reply was modified 1 year, 2 months ago by bee15.
    Thread Starter bee15

    (@bee15)

    Hi Vladimir,
    Thanks for that, I have tried ticking that but it doesn’t show.
    I have linked two screenshots for your reference.

    https://ibb.co/HqTGnH3
    https://ibb.co/XV18y6T

    Thanks

    Thread Starter bee15

    (@bee15)

    I’m still having this issue with Version 5.7.5.1
    Conflict testing showing it still doesn’t work with no other plugins active & theme twentyseventeen was active. (top image flatsome, bottom image twentyseventeen).
    Please advise.

    Contact-Form7-Plugin-Error-Theme-Flatsome-Active-2023-04-11-140353
    Contact-Form7-Plugin-Error-Theme-Twenty-Seventeen-Active-2023-04-11-140353
    Thread Starter bee15

    (@bee15)

    Hi Shea,
    Thanks for that.
    This is the snippet with that error:

    add_filter( 'woocommerce_order_item_name', 'sku_before_order_item_name', 30, 3 );
    function sku_before_order_item_name( $item_name, $item, $is_visible ) {
        $product = $item->get_product();
        $sku = $product->get_sku();
    
        // When sku doesn't exist we exit
        if( empty( $sku ) ) return $item_name;
    
        $sku_text = __( 'SKU', 'woocommerce' ) . ': ' . $sku;
    
        // Add product permalink when argument $is_visible is true
        $product_permalink =  $is_visible ? $product->get_permalink( $item ) : '';
    
        if( $product_permalink )
            return sprintf( '<a href="%s">%s - %s</a>', $product_permalink, $sku_text, $item->get_name() );
        else
            return $sku_text . ' - ' . $item->get_name();
    }

    Unfortunately I don’t know much about PHP or coding, only very basics.
    so if there is anything there that doesn’t make sense, I don’t think I’ll be able to figure it out.

    I also have another error that ended up showing a critical error on my live site https://www.tilt.co.nz, when trying to print an invoice through with the plugin WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels (wt-woocommerce-packing-list). I’m unsure if it’s a snippet issue or a WooCom PDF issue, as it’s not a constant, and only happened once with another team member.

    2023-03-20T00:32:15+00:00 CRITICAL Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag in /srv/htdocs/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()'d code:92
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()'d code(92): array_multisort(NULL, 4, Array)
    #1 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(308): wf_pklist_order_by_id(Array, 'invoice', Object(wf_order))
    #2 /wordpress/core/6.1.1/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #3 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(1442): apply_filters('wf_pklist_alter...', Array, 'invoice', Object(wf_order))
    #4 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/classes/class-customizer-product-table.php(215): Wf_Woocommerce_Packing_List_CustomizerLib::generate_product_table_product_row_html(Array, 'invoice', Object(wf_order))
    #5 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(438): Wf_Woocommerce_Packing_List_CustomizerLib::set_product_table(Array, 'invoice', '<div class="wft...', Object(wf_order))
    #6 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(308): Wf_Woocommerce_Packing_List_Invoice->generate_template_html(Array, '<div class="wft...', 'invoice', Object(wf_order), NULL, NULL)
    #7 /wordpress/core/6.1.1/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #8 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/admin/modules/customizer/customizer.php(926): apply_filters('wf_module_gener...', Array, '<div class="wft...', 'invoice', Object(wf_order), NULL, NULL)
    #9 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(998): Wf_Woocommerce_Packing_List_Customizer->generate_template_html('<div class="wft...', 'invoice', Object(wf_order))
    #10 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/public/modules/invoice/invoice.php(964): Wf_Woocommerce_Packing_List_Invoice->generate_order_template(Array, 'TNZ-3910753488')
    #11 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(308): Wf_Woocommerce_Packing_List_Invoice->print_it(Array, 'print_invoice')
    #12 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #13 /wordpress/core/6.1.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #14 /srv/htdocs/wp-content/plugins/wt-woocommerce-packing-list/admin/class-wf-woocommerce-packing-list-admin.php(818): do_action('wt_print_doc', Array, 'print_invoice')
    #15 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(308): Wf_Woocommerce_Packing_List_Admin->print_window('')
    #16 /wordpress/core/6.1.1/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #17 /wordpress/core/6.1.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #18 /wordpress/core/6.1.1/wp-settings.php(617): do_action('init')
    #19 /srv/htdocs/wp-config.php(97): require_once('/wordpress/core...')
    #20 /wordpress/core/6.1.1/wp-load.php(55): require_once('/srv/htdocs/wp-...')
    #21 /wordpress/core/6.1.1/wp-admin/admin.php(34): require_once('/wordpress/core...')
    #22 /wordpress/core/6.1.1/wp-admin/index.php(10): require_once('/wordpress/core...')
    #23 {main}
      thrown in /srv/htdocs/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()'d code on line 92
    

    Thanks, any help would be appreciated.

    bee15

    (@bee15)

    I am also getting this error with the newest update.
    https://clone-trophycentre.mystagingwebsite.com/engraving/

    Thread Starter bee15

    (@bee15)

    Hi Jeroen,

    I will give it a go and check ??
    Thanks for the prompt response!

    Cheers,
    Emma

    Thread Starter bee15

    (@bee15)

    Yes! Thank you so much that’s worked a treat!!

    Regards,
    Emma

    Thread Starter bee15

    (@bee15)

    I haven’t exactly solved this issue, but I just kept deleting the account and then making a new one until it finally worked – not sure why this was happening? It took about 5 new accounts for it to finally work.

    Thread Starter bee15

    (@bee15)

    It seems to all be working now, thanks

    Thread Starter bee15

    (@bee15)

    Will do, thanks for the reply

    Thread Starter bee15

    (@bee15)

    It somehow fixed itself and appeared after refreshing the user’s page a bunch of times.

    Thread Starter bee15

    (@bee15)

    It somehow fixed itself and appeared after refreshing the user’s page a bunch of times.

    Thread Starter bee15

    (@bee15)

    Okay so the new user can now access the backend using the /wp-admin url link, but still cannot access the backend using the admin bar from the front end (it’s not there).

Viewing 15 replies - 1 through 15 (of 18 total)