Tagged: code-locater.php, warning message
- This topic has 1 reply, 1 voice, and was last updated 5 years, 2 months ago by
ibanlopez.
-
AuthorPosts
-
-
November 26, 2016 at 1:11 am #7593
ibanlopezParticipantHi,
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.phpIt seems that I have missed something or I’m just doing something wrong.
Thanks in advance for your help.
-
November 26, 2016 at 11:03 pm #7594
ibanlopezParticipantI 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.
-
-
AuthorPosts
- The topic ‘Warning missing file when turning off demos’ is closed to new replies.