Viewing 1 reply thread
  • Author
    Posts
    • #7593
      ibanlopez
      Participant

      Hi,
      I’m using Piklist 0.9.9.9 and everything works fine until I turn off demos.
      I created a field colorpiker for categories using the plugin parts demo file, and It worked fine, but when turning off demos I get this message:

      Warning: File does not exist: shared/code-locater.php in /var/www/public/wp-content/plugins/piklist/includes/class-piklist.php on line 514

      Same thing when creating a file upload field for users. It just shows same warning.

      If I turn on demos again, everything works fine and message turns showing the path of the file that renders section:

      The code that built this Term Section can be found here:
      wp-content/themes/wposandbox/piklist/parts/terms/field-colorpicker.php

      It seems that I have missed something or I’m just doing something wrong.

      Thanks in advance for your help.

    • #7594
      ibanlopez
      Participant

      I solved it, if anyone comes across this, I’ve just removed this snippet at the very bottom of every file:

      piklist('shared/code-locater', array(
          'location' => __FILE__
          ,'type' => 'User Section'
        ));

      I just didn’t realize about this piece of code. Sorry my bad.

      Thanks a lot anyway.

Viewing 1 reply thread
  • The topic ‘Warning missing file when turning off demos’ is closed to new replies.