Forum Replies Created
-
AuthorPosts
-
June 20, 2016 at 9:09 AM in reply to: โ When I create a new item it says 1/1 on my image_advanced field and won't let me upload a new one #3489
Anh Tran
KeymasterHi,
Do you have
'max_file_uploads' => 1in your code? The status simply shows that you have uploaded the maximum allowed number of files. In order to upload more files, you need to remove existing files.Anh Tran
KeymasterHi,
We've just fixed that in the latest version of the plugin. Please update.
Anh Tran
KeymasterThat's fine ๐ Glad that you resolved it!
Anh Tran
KeymasterRegarding the taxonomy field: as the values are not saved into post meta, they're used to set post terms and post terms are exported by WP so there should be no problem with it.
Regarding the term meta, unfortunately, WordPress doesn't export/import term meta. There is a work on that which will be included in WordPress 4.6.
In the meantime, you can download the patch and use it.
Anh Tran
KeymasterI understand. I thought I did this in the previous version but looks like not. I will fix it so
emptywork.Thanks for noticing the bug.
Anh Tran
KeymasterDo you mean sorting options of a
select_advancedfield?Anh Tran
KeymasterI guess there is a JavaScript code that similar to this
$( '#course_cluster[]' )which is an invalid selector in jQuery. As you're using Conditional Logic plugin, this expression might be displayed by the plugin, it can be auto-generated by term ID or something. Can you check the source HTML code to see whatcourse_clusteris?Anh Tran
KeymasterThere is no reference to
course_clusteras shown in the error log. Can you add these lines intowp-config.phpand check the error message again?define( 'WP_DEBUG', true ); define( 'CONCATENATE_SCRIPTS', false ); define( 'SCRIPT_DEBUG', true );This code tells WP to not concatenate scripts and can show us the exact place of the error.
Anh Tran
KeymasterCan you post the code you use to register meta boxes and custom fields?
Anh Tran
KeymasterUnfortunately no. You can only set it searches from a fix bundle of data.
Anh Tran
KeymasterDS conflicts with my XAMPP somehow. I couldn't make it run :(.
Anh Tran
KeymasterI'm downloading DS to test ๐
Anh Tran
KeymasterLol. I don't run VVV, neither. It's more complicated than it should be. On Mac, I'm using Valet which is super simple.
On Windows, I think XAMPP is more stable than other software. You should think switching to it ๐
Anh Tran
KeymasterI have no idea with DesktopServer. I'm using XAMPP locally and it works. I thought DesktopSever is similar to XAMPP as they're just the wrapper for Apache, MySQL and PHP.
Anh Tran
KeymasterMaybe in the Apache error log?
Also, try copy and paste the code above directly into
functions.phpof the child theme. I did that and it worked. -
AuthorPosts