• 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 8 years ago by scsedel.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! That error is not from this plugin, it’s coming from DK PDF. You can open a new ticket in their support forum here.

    Good luck & happy selling!

    Thread Starter scsedel

    (@scsedel)

    I’m very sorry, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘$post_type never used and generate error’ is closed to new replies.