Bug #22040 Clarification Requested

adding custom field to field group

Version: 3.4.2 Reporter: matrix10

/admin.php?/cp/channels/fields/create/1

nothing showing to allow me to create a custom field for field group.

clicked “Create New” in /admin.php?/cp/channels/fields/1
all the page shows except the form.

edit existing field (created via 3.4.1) works fine.

  • Definitely cannot reproduce and our automated tests check for things like these as well and they are all passing.

    1. Can you share a screenshot of what you are seeing?
    2. Are you getting any errors in your web console?
    3. When you updated, did you replace your themes/ee folder?
    Derek Jones
    26th August, 2016 at 11:01am
  • Hi Derek, I’ve figured out the error was caused by a fieldtype addon.. sorry for that.

    TL;TR 1. http://awesomescreenshot.com/04863z1nea 2. no errors in the error log 3. I’ve just re-done the replacement to see if it was a problem. no change :(

    I’ve upgraded loads of times before with no problems with this fieldtype… however I might not have created any new fields in the last few versions (there have been loads recently).

    Found the problem by outputting the variables used in \EllisLab\ExpressionEngine\Controller\Channels\Fields->create()

    FILE: /system/ee/EllisLab/Expressionengine/Controller/Channels/Fields/Fields.php BEFORE LINE 176: ee()->cp->render(‘settings/form’, $vars); ADDED: var_dump($vars);exit(); ERROR:

    Notice
    
    Undefined variable: key
    user/addons/google_maps/ft.google_maps.php, line 371
    

    Saw this php notice error with one of the fieldtypes used in the create form! must be something wrong in my hosting error logging. sorry for wasting your time.

    Thanks for confirming that the error was at my end.

    matrix10
    30th August, 2016 at 5:57am
  • sorry formatting messed up!

    matrix10
    30th August, 2016 at 5:58am
  • No worries, glad you found the issue!

    Derek Jones
    30th August, 2016 at 9:56am

You must be signed in to comment on a bug report.

ExpressionEngine News

#eecms, #events, #releases