• Hello, we have a e-book with you guys and I was trying to get your wordpress plugin working. When I first installed it I had issues with it throwing php errors on the enqueue_scripts and register_scripts, and enqueue and register styles. I solved this by wrapping them into a function and putting in an add_action to wp_enqueue_scripts.

    However a problem I am still unable to solve is that whenever I try to edit any product now, I get two undefined index errors.

    the first is:
    Notice: Undefined index: post in /home/xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/wp-content/plugins/editionguard-for-woocommerce-ebook-sales-with-drm/woocommerce_editionguard.php on line 32

    and the second is:
    Notice: Undefined index: _use_edition_guard in /home/xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/wp-content/plugins/editionguard-for-woocommerce-ebook-sales-with-drm/woocommerce_editionguard.php on line 131

    I am hoping that you can provide some help in solving this problem.

  • The topic ‘undefined index’ is closed to new replies.