New Landing How can we help? Atelier Getting an error notice on Product Page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #292268
    bikashshil02
    Member
    Post count: 46

    Hi,

    I am getting an error message as follows on my product page:

    Notice: Trying to get property of non-object in /home/upayayoj/public_html/wp-content/themes/atelier/swift-framework/content/sf-products.php on line 323

    The line 323 in sf-products.php is
    $category_id = $category_term->term_id;

    Can you please help me in fixing this issue

    Thanks

    Bikash

    #292319
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @bikashshil02

    We have fixed this for the next update – thanks for the heads up.

    – Ed

    #292446
    bikashshil02
    Member
    Post count: 46

    Thanks for checking this out.

    Can you please let me know When will the next update be available!

    Till then will I have this error notice coming up on my web page! Will it affect in any transaction!

    Regards

    Bikash

    #292472
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    It will not affect any transaction. You can hide this notice till next update. Please open to edit the wp-config.php file at wordpress root installation directory through FTP software.
    Find this code:-
    define( 'WP_DEBUG', true );
    Replace with:-
    define( 'WP_DEBUG', false);

    Thanks 🙂
    Mohammad

    #292811
    bikashshil02
    Member
    Post count: 46

    Hi Mohammad,

    I edited the code as advised. But still seeing the error notice. Did I miss anything? Please advise

    Regards

    Bikash

    #292820
    David Martin – Support
    Moderator
    Post count: 20834

    I do not see the error on the product pages?

    https://www.upayan.com/product/personalised-revolving-cube-magnetic-with-photo-white/

    Which ones do you see this on?

    Thanks.

    #292857
    bikashshil02
    Member
    Post count: 46

    Hi David,

    I see this only the following page:

    https://www.upayan.com/upayan-category-personalized-mugs/

    Regards

    Bikash

    #292921
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The advice from my colleague Mohammad should have worked.

    Find this code:-
    define( 'WP_DEBUG', true );
    Replace with:-
    define( 'WP_DEBUG', false);

    can you provide me ftp access to check it?
    Send it in a private reply.

    Thanks

    -Rui

    #293204
    bikashshil02
    Member
    Post count: 46
    This reply has been marked as private.
    #293336
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It’s strange the settings in your wp-config.php are correct, that notice shouldn’t be displayed.
    Not sure if it’s the cloudflare that is caching the files, can you purge it?

    Anyway we will release an update in the next days that will fix it.

    -Rui

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

You must be logged in to reply to this topic.