Support » Plugins » [Plugin: Magic Fields] Related Type Cannot be duplicated

  • Hi, I love this plugin, but I am having an issue where I can’t duplicate fields that are “Related Types”. I have the checkbox set to duplicate, but in my write panel, clicking the duplicate link doesn’t do anything.

    Any ideas?

    Alternatively, one approach to attaching multiple related posts to a post might be to change the drop-down to a listbox. This would require no duplication of the field, and make the user experience better, I think.

    Cheers

    http://wordpress.org/extend/plugins/magic-fields/

Viewing 10 replies - 1 through 10 (of 10 total)
  • any error of javascript?

    wich version of the WP?

    I’m having the same problem. Running Firefox 3.5.4 (running update to 3.5.6 now) and Flock 2.5.2 using WordPress 2.9 with WAMPSERVER.

    My guess is it’s a javascript error… but I couldn’t say for sure. I’m not a big javascript debugger.

    In, IE when duplicating a group, the group appears to be duplicated, but these errors appear:

    Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 646

    Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 661

    Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 668

    Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 675

    Deprecated: Assigning the return value of new by reference is deprecated in [path]\wp-settings.php on line 711

    Deprecated: Function set_magic_quotes_runtime() is deprecated in [path]\wp-settings.php on line 18

    It’s quite possible they’re not related, but maybe that will help point you in the right direction.

    Thread Starter smashmiek

    (@smashmiek)

    Hi, tanks for the reply.

    I’m using Wp 2.9

    Strangely, the problem has gone away, without any modifications to the wp install, or the plugin.

    The only change has been that firefox has been restarted, and duplications are working fine!

    Weird…

    I have the same problem. I disabled all other plugins, but I still get it. In FF I see in the bottom left of the window “javascript:void(0);” and nothing happens when I click “Duplicate Field”. Duplicating groups is fine, duplicating fields isn’t working. WP 2.9.1

    After deciding to go through the Magic Fields code this morning, I figured this thing out. The problem is Magic Fields can’t handle the use of dashes in your custom image field name. Looking through the [magic-fields\js\custom_fields\image.js code, you’ll see it splits the field id by a dash to remove the first bit.

    Anyway, the workaround is to not use dashes in your custom image field name. I assume this will also fix being unable to duplicate fields and groups.

    Devs for Magic Fields, please validate the custom field name for dashes or fix the javascript to account for dashes in the custom field name.

    Thanks.

    Gnuget

    (@gnuget)

    hello Spencersokol

    you are right, in the new versión of magic fields this issue of the images will be fixed,

    Magic Fields team, you guys rock the planet. @spencersokol, you rock the universe thanks to your workaround.

    I agree with @chrisbratlien! Thanks @spencersokol — and THANK YOU Magic fields.

    We’re having the same issue -where Magic Fields isn’t duplicating – and it only seems recent. There are no dashes in the field names. We’ve disabled all plugins and it still won’t work. The funny thing is we have a duplicate environment on the same server and that one works so we’re lost as to what would kill it?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Magic Fields] Related Type Cannot be duplicated’ is closed to new replies.