Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #3425

      I’m getting an error on my debug.log everytime I click to add a new post on my Custom Post Type. Please see the attached image.

      I made some debug to find where the problem is and can’t understand what the line 228 on post-submit-meta-box.php should do because it always pass false (on new post) to the WordPress function touch_time on the second argument and it cause the error.

      File: piklist/parts/shared/post-submit-meta-box.php
      Line: 228
      <?php touch_time(($action == 'edit'), ($pagenow != 'post-new.php'), 4); ?>

      Attachments:
      You must be logged in to view attached files.
    • #3475
      Steve
      Keymaster

      @darlantc– Please post your custom post type code so we can take a look.

    • #3476
      This reply has been marked as private.
    • #3477
      Steve
      Keymaster
      This reply has been marked as private.
Viewing 3 reply threads
  • You must be logged in to reply to this topic.