• Resolved scsedel

    (@scsedel)


    Hi,

    in dkpdf-functions.php at line 38 you set

    $post_type = get_post_type( $post->ID );

    but you’ll never use it. Unfortunately it generates an exception and break some plugin like Advanced Woo Search. Anyway… I’ve just commented this line and it solves the issue. Please have a look on that. Thank you!

    • This topic was modified 6 years, 7 months ago by scsedel.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘$post_type never used and generate error’ is closed to new replies.