Hello,
All of a sudden I’m not able to upload or delete any images on new or existing posts on my website on Magic Fields.
I get the error message:
“You do not have sufficient permissions to access this page.”
I have the same website running locally on XAMPPP and it works just fine so it must be something related to server configuration.
I also have other websites with Magic Fields on the same server and they are all working fine.
What do you think might be happening with this particular install?
Thank you!
]]>The Magic Fields 2 plugin appears to be disabling the visual editor in WordPress 4.5. While the plugin is activated, the visual editor is not usable. Anyone else having this issue or any plans to repair this?
]]>Hi,
I need help finding the right way to get the url of a related type content.
This is a basic explanation of what I have and need:
CPT FITO. Custom post type fito.
CPT MARCA. Custom post type marca.
For MARCA, we create a field named “relation” and you can choose from a list dropdown to wich FITO is related.
SS here: https://prntscr.com/agdiku
Then, I need to get the link of the FITO related and use it as link of the MARCA list.
This is a fragment of the template where I want to print the link of the related content.
https://prnt.sc/agdlje
Thanks in advance, I hope someone can help me with this.
]]>Since the update to the latest MF2 version I cannot upload pdf or doc files anymore when using the field “file”. It says “no editor could be chosen”. Do you have any idea how to solve it? It appears on all websites now.
]]>After the last update the get_image isn’t working anymore. It doesn’t output anything.
]]>Hi there,
Just an FYI. I received this error after upgrading today. To fix, I went to the main site and downloaded from GitHub. No issues now but I thought I’d put this up just in case someone else ran into the issue.
Love the plugin. Thanks for all your work!
Fatal error: Call to undefined function aux_image() in /plugins/Magic-Fields-2-master/field_types/image_media_field/image_media_field.php on line 93
]]>I’ve created the relations between posts with related custom field, and it worked fine untill I imported over 20 000 posts. After that related custom field does not be displayed and post-edit page now loads very long time. Also, a screen options panel doesnt opens.
I guess its because MF trying to load all potentially related posts into dropdown list (but I’ve not tested this idea to be sure with reasons of this disfunction).
I thing it would be good to have a backend functions to manage metas (with respect the wp_mf_xxx tables).
for now, if I trying to fill content from some database, or customize email-posting, or use add_post_meta/update_post_meta/delete_post_meta for some other reasons – I will not reach expected result, because of aditional data MF stores in wp_mf_*** tables, and I have to to perform the duties of plugin by myself to make standart wp metas clear for MF.
can we expect of adding this fuctions in near future?
]]>Hello!
First of all, MF2 is very usefull plugin, thank you for your jub guys!
So, the point of problem:
While developing functionality for my project I had to hook the update_post_meta and add_post_meta to perform some actions… and I was very surprised to find that MF2-driven post meta never updated! They always removed/added when I save my post, and they always increment meta_id every time I updated the post.
Furthermore, hooks are called twice every time I updated post.
In other hand, when I use native WP meta fields – they called the update hook, where meta_id wasnt incremented, just valued updated.
So the question: why do you devour meta_id? Why dont you use update_meta functionality?
]]>I can drag and drop the individual items, but upon saving it’s not saving the changes.
The issue is under Highlighted Projects. It was working correctly when there were only 22 projects, but since adding 2 more it’s not working when saving the changes (order change).
Screenshot: https://www.lannendesigns.com/magic-fields.gif
The page is https://www.gen7schools.com/projects/projects-overview/
It is a custom WordPress template (I didn’t create it).
]]>Not sure whats going on, but when trying to update a post with a magic fields 2 textbox it gives an error on update. The field has to be less than 25 characters. The field in MF2 is not check to evaluate length. This just started happening. I have the same issue on 2 sites. one with the most recent magic fields 2 update Version 2.3.2.1 and another at Version 2.3.2.
not sure if its a database thing or whats going on.
]]>Hi there,
I’ve got an issue with my Magic Fields 2 installation. I have an image media field and every time I upload an image from my media library, the thumbnail is broken. It shows up fine on the front end but not the back end. When I right clicked to see what the URL for the image is coming up as, it’s appending the URL to the plugin and then the URL to where the image is stored in the Media Library. There are no errors being thrown or anything like that.
Any direction/help you can give me to solve the issue would be great. Thank you !
]]>I have worked with MF2 for quite some time with no issues. recently I notices 2 of my sites having an issue with the image media field. The page displays no thumbnail, i have had this happen in the past, but the image still shows up on the front end. (not the end of the world). Now tho, images are not added to the front or back. I have tried many things:
permalinks, permissions, fall back version of the plugin, hacks/mods suggested by others with troubles… Ive tried getting the image as get_image() and by just get() to see the image url. Still no luck. When I click on set image the media library pops up and works like normal. its not until you hit set image in the media manager that nothing happens. The popup closes and no image is set. When you hit update on the post, the page refreshes and you can see the image is broken. Also if you view custom fields (coreWP) you can see the meta key and the image url are active, but yet no image in the front end.
Any suggestions would be greatly appreciated.
]]>Hi,
who know how to migrate data from MF 1 to MF 2 ?
I deactivate the MF 1 and activate the 2, it seem I need to manually recreate each custom post and fields. And after that ? I tested with ACF, and the custom fields, if I rename is are display correctly in post, but i dont know how to do the same using MF2. I have hundred of post to migrate with MF1 actions.
If you have an idea, thanks for your help.
Mike
]]>then I activate qTranslate-X plugin on clear wordpress instalation with magic fields 2, field type “file” don`t work
See screenshoot
why? can anyone help me?
I’m running wordpress 4.0 and Magic Fields 2.3.1. Everything worked fine, but now on my website this line of code appears
Warning: php_uname () has been disabled for security Reasons in /home/designi1/public_html/wp-content/plugins/magic-fields-2/mf_extra.php on line 39
Does anyone have any idea why this happens?
My website is https://www.designio.cl
The same is true with https://www.designio.cl/consejo/
Thank!
I made a custom post type, and created a few.
Then I backed them up with WordPress Exporter
Later tried to restore the backup. The posts show up, but have no data
Please help
]]>I’m using magic fields 2.3… My web site is running on a local server and a remote server, however, on the remote server does’t work the image field and where to display the button ‘Load Images “shows an iframe that loads the entire site again, WTF !! On the local server the image field work correctly!!
]]>Time to update
]]>Hi,
I’m getting an error on the image upload field, with “You do not have sufficient permissions to access this page” replacing the upload button.
I’m logged in as administrator, so there should not be any problem with permissions.
]]>I know this plugin is not supported and I’m not sure if the author checks its info, but your magicfields website was hacked by someone.
I know id want to know if it happened to me.
Hello,
I need to use Magic Fields 2 functions like “get_count_group()” in the WordPress backend, but it looks like they’re included only in the frontend.
Is it possible to use them in the admin back end?
]]>If you use the same field name in two different custom post types get_data is apparently returning the options of the first entry in the wp_mf_custom_fields table with a matching field name ignoring the post type.
]]>This plugins magic fields does not work with visual composer, a very popular wordpress plugin. It removes VC buttons from the editor. We are pretty sure about it after spending almost two weeks trying to figure out the source of the problem
]]>Hello,
in a theme that I service, a custom post is created with Magic Fields 2. I has Image Media type of custom field. And it does not work.
I click “set image” button, I choose the image I want and I click “Insert into post” button as there is no other button. Hence – no image in my custom post…
I would be grateful for your help.
When trying to reorder fields using drag and drop I get this message
somethings wrong!, try again please
I also have the following in my PHP error log.
[21-Dec-2014 06:57:00 UTC] PHP Deprecated: Function split() is deprecated in C:\WWW\wp\wp-content\plugins\magic-fields-2\admin\mf_ajax_call.php on line 20
[21-Dec-2014 06:57:00 UTC] PHP Stack trace:
[21-Dec-2014 06:57:00 UTC] PHP 1. {main}() C:\WWW\wp\wp-admin\admin-ajax.php:0
[21-Dec-2014 06:57:00 UTC] PHP 2. do_action() C:\WWW\wp\wp-admin\admin-ajax.php:85
[21-Dec-2014 06:57:00 UTC] PHP 3. call_user_func_array() C:\WWW\wp\wp-includes\plugin.php:496
[21-Dec-2014 06:57:00 UTC] PHP 4. mf_ajax_call() C:\WWW\wp\wp-includes\plugin.php:496
[21-Dec-2014 06:57:00 UTC] PHP 5. mf_ajax_call->resolve() C:\WWW\wp\wp-content\plugins\magic-fields-2\main.php:253
[21-Dec-2014 06:57:00 UTC] PHP 6. mf_ajax_call->mf_sort_field() C:\WWW\wp\wp-content\plugins\magic-fields-2\admin\mf_ajax_call.php:12
However, in spite of these error messages the new order is correctly saved to the database so it is not a major problem.
mc
]]>Hello!
How can i get alt attribute for images? I used type “image media”.
If i use <?php echo get_image(‘photo_post_img’); ?> code in template, i get on site only <img class=”magic_fields” src=”https://site.name/wp-content/uploads/2014/12/Penguins.jpg”>
i would like to <img class=”magic_fields” src=”https://site.name/wp-content/uploads/2014/12/Penguins.jpg” alt=”Name pictures from media gallery WordPress”>
Tell us in detail, please. Thank you.
]]>Hello,
I’ve been having trouble uploading images through Magic Fields 2.
The problem is that, when we upload an image, it has to go to this locations:
/var/www/lifeboxset.com/wp-content/files_mf/
/var/www/lifeboxset.com/wp-content/files_mf/cache
The files appear to be there, but they do not work. The images look broken and invisible. Examples:
https://www.lifeboxset.com/wp-content/files_mf/cache/th_4a54a93031f4c119950098790773b991_1415810520ct.jpg
https://www.lifeboxset.com/wp-content/files_mf/cache/th_4a54a93031f4c119950098790773b991_1415809474plantsvszombies.jpg
Our server consultant sent us the following diagnosis:
————
We are seeing the following error messages from your php.log file about this plugin:
Nov 12 09:21:12: PHP Warning: imagecreatefromstring(): Empty string or invalid image in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 112
Nov 12 09:21:12: PHP Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 113
Nov 12 09:21:12: PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 120
————
How can I fix the problem?
Thank you,
Chris.
hello
I have a next problem.
I use “add_post_meta” on my website, but this function creates only standard meta fields, and Magic Fields block is empty anyway .
Who knows, how can I insert data in Magic Fields (not in the standart meta.
]]>hello,
I created a “Post Type” field with magic field in it I have a field of type “Image media” when I upload an image it works but when recording the image thumbnail is not generated I have broken with this error “ERR_CONTENT_LENGTH_MISMATCH” image?
thank you
]]>