When previewing Page, Blog

  • Undefined index: text_processing in text_field_widget_form() (line 547 of [..]/modules/field/modules/text/text.module).
  • Text Format block disapears

Saving works flawlessly

This occured after updating core from 7.09 to 7.10 and installing WYSIWYG.

If I hit preview a second time I get

  • Notice: Undefined index: format in text_field_load() (line 158 of [..]/modules/field/modules/text/text.module).
  • Notice: Undefined index: format in _text_sanitize() (line 319 of [..]/modules/field/modules/text/text.module).
  • Notice: Undefined index: format in text_field_formatter_view() (line 279 of [..]/modules/field/modules/text/text.module).
  • Notice: Undefined index: format in _text_sanitize() (line 319 of [..]/modules/field/modules/text/text.module).
  • Notice: Undefined index: text_processing in text_field_widget_form() (line 547 of [..]/modules/field/modules/text/text.module).

When previewing a custom type including links, I get several

  • Warning: unserialize() expects parameter 1 to be string, array given in _link_load() (line 315 of [..]/sites/all/modules/link/link.module).

Thanks

PS : clicking on "read the issue tag guidelines." zapped this message, should it not open within a new window ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stpaultim’s picture

Status: Active » Postponed (maintainer needs more info)

I set up a fresh install of Drupal 7 and activated the "blog" module. I tried creating & editing both pages and blog entries, without any problems. I tried the "preview" button, without any errors.

Then I installed WYSIWYG and again tried creating and editing both pages and blogs. Was unable to recreate any errors using Preview. I also installed a WYSIWYG library, I used TinyMCE, again - I tried creating and editing both pages and blog entries and could not recreate the problem using Preview.

I'm postponing this issue until someone is able to provide more specific information or steps on how to recreate the issue.

Thanks.

the_g_bomb’s picture

I'm getting this error as well on 7.15, although I have no idea how to re-create it at this point. I will try to track something down, but the site is an upgrade from D5 so the error could have been introduced anywhere.

sparker888’s picture

FileSize
7.66 KB

I'm getting basically the same error as follows:

Notice: Undefined index: text_processing in text_field_widget_form() (line 547 of C:\Dev_Server\modules\field\modules\text\text.module).

This is on a brand new install of Acquia Drupal (drupal 7.14) with the following related modules enabled:

IMCE (imce 7.x-1.5)
CK Editor (ckeditor 7.x-1.9)
WYSIWYG was NOT enabled

I'm not sure what else you need. I looked at some of the dev tools info, but nothing stood out.

The occurrence happened when I went to create a custom piece of content that was from a module related to a book on Drupal 7 Social Networking (the downloadable file is attached below).

Other core content types seem to work OK. Hopefully it's not a problem with the book's sample module and the content type it produces, but if I find anything else out, I'll report it here.

Oh, and the only thing I did aside from the default config was add a taxonomy field to this sample content type (called 'Dinosaur friendly place' btw).

Not sure if any of this will help, but I thought I'd report it anyway. It doesn't seem to be related to WYSIWYG. At least not in this case.

millwardesque’s picture

This patch just wraps the offending code in !empty rather than assuming the key text_processing key is present.

millwardesque’s picture

Whoops, the patch above only fixes #3.

millwardesque’s picture

A separate issue addressing #3, #4, and #5 has been created at http://drupal.org/node/1818532 because it appears to be separate from the OP.

dddave’s picture

Is this still an issue with a recent version?

Kartagis’s picture

With version 7.57, yes.

dddave’s picture

Version: 7.10 » 7.x-dev
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Active

Well then...

Kartagis’s picture

Oh, and I should also mention that I only have Views, not any editor or such.

Kartagis’s picture

Anything?