Home Forums Theme Support Dokan My orders: property of non-object error

This topic is: not resolved

This topic contains 11 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 7 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #27838

    Richard Hoskins
    Member
    Post count: 50

    Hi,

    I've almost got my theme up and running perfectly, however one of the last errors left is when I go to the ‘My Orders' page. Under the ‘status' column I am getting the error:

    Notice: Trying to get property of non-object in /home/printet1/public_html/wp-content/themes/dokan/templates/my-orders.php on line 62

    Line 61-63 includes:

    <td class="order-status" style="text-align:left; white-space:nowrap;">
          <?php echo ucfirst( __( $status->name, 'dokan' ) ); ?>
    </td>

    Can someone help me solve this?

    Thanks in advance!

    #27899

    Richard Hoskins
    Member
    Post count: 50

    I would really appreciate help on this issue as soon as possible.

    I have also found another strange bug. For some reason when I attempt to access the ‘My Account' page from the navigation bar at the top of the page, it simply refreshes the page I'm on. It is not correctly leading to the ‘My account' page.

    How can I fix this?

    #28114

    Richard Hoskins
    Member
    Post count: 50

    Still looking for help!

    #28221

    Sk
    Moderator
    Post count: 371

    Hello Richard,

    Are you using dokan plugin? and what is the version of your woocommerce?

    #28230

    Richard Hoskins
    Member
    Post count: 50

    Hi!

    Thanks for getting back to me. I'm currently using the latest version of the Dokan theme, not the plugin. I am using version 2.2.4 of woocommerce.

    #28498

    Richard Hoskins
    Member
    Post count: 50

    So it's literally been 2 weeks since I created this and I'm still waiting for a solution.

    #28598

    Richard Hoskins
    Member
    Post count: 50

    I am STILL waiting! I've invested money in a server and for over 2 weeks now you have provided me with no help. I am LOSING MONEY because of this poor service.

    #28698

    Richard Hoskins
    Member
    Post count: 50

    Also, for your reference, I have tried to remake the ‘My Account' page, but have no relevant template to associate with it. What can I do?

    #28768

    Richard Hoskins
    Member
    Post count: 50

    Still looking to fix the problem!

    #28822

    Richard Hoskins
    Member
    Post count: 50

    This is getting kind of ridiculous. It's taken a LONG time for support. I can provide login details if you would like to access all the coding.

    Woocommerce is showing however that my theme has bundled outdated copies of woocommerce. As I explored, I found:

    dokan/woocommerce/myaccount/my-orders.php version 2.1.0 is out of date. The core version is 2.2.0,
    dokan/woocommerce/order/order-details.php version 2.1.0 is out of date. The core version is 2.2.0

    I don't know if this will help, but I'm grasping at straws here.

    #29051

    Sekander Badsha
    Member
    Post count: 2067

    Hello Richard,

    I am extremely sorry about the late reply.

    Please provide your login details by using this form -http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    And sorry again.

    #29144

    Sekander Badsha
    Member
    Post count: 2067

    Hello Richard,

    I will contact you via mail to get all your issues resolved ASAP and have sent a mail already. Please check and reply.

    Thank you for having patience ๐Ÿ™‚

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘My orders: property of non-object error’ is closed to new replies.