Okay
  Public Ticket #3205132
critical error
Closed

Comments

  •  3
    Trevor Lee started the conversation

    Hi, sorry, just found this,


    Under Tickets menu,  on any Ticket click view orders.

    on the next screen if you click details it works fine and takes you to the WC product,  however if you click on the order id, you well get a critical error.


    Attached files:  critical error.PNG

  •  877
    Zhivko replied

    I recently noticed the url there is wrong.

    Open file view\admin\tickets\orders.php

    on line 32,33 replace

    <a href='<?php echo esc_url(sprintf(admin_url('post.php?post=%d&action=edit'), $order)); ?>'>
                                        <?php printf('Order #%s', $order) ?></a>

    with: 

    <a href='<?php echo esc_url(sprintf(admin_url('post.php?post=%d&action=edit'), $order)); ?>'>
                                        <?php printf('Order #%s', $order) ?></a>

    Stachethemes Developer

  •  3
    Trevor Lee replied

    Thanks you can close this