Exclude Node Title 7.x-1.4 gives error when I set and save no matter what configuration I use.

The error looks like this

Notice: Undefined index: exclude_node_title_nid_list in exclude_node_title_admin_submit() (line 56 of /home2/mysite/public_html/myothersite/sites/all/modules/exclude_node_title/exclude_node_title.admin.inc).

The titles are still showing on all pages.

Any help?

Comments

jackbgarvey’s picture

I got the same error you did using the 7.x-1.4 file.

I tried using the dev file (7.x-1.x-dev) and it filled my need (I was trying to hide a page title in a dynamic data block). Once I configured "Articles" for "User Defined Nodes", the "exclude title" checkbox appeared on my "Add an article" form.

Hope this is helpful.

drdave17’s picture

Actually the checkbox was always there I just missed it. I still get the error and the title still not displaying. I was thinking that it may not be safe to use the dev version on a live site? I stand corrected.

tim.foxell’s picture

I got the same error when saving the settings for my "Page" content type to "User defined nodes" (no other settings changed). The bug seems to be in the saving of settings. It also doesn't respect any NID's already in the exclusion list when you save the configuration... Here are the steps to reproduce the error hope it helps towards a fix.

1: Download and enable module
2: Goto configuration page and set "Exclude Title by Content-Type" for a content type to "User defined nodes" (admin/config/content/exclude_node_title)
3: Save settings which will result in the error message stated in this issue.
4: Goto a page of the content type configured to show the "Exclude title from display" check-box
5: Edit that page and select "Exclude title from display" to true and save... (This DOES hides the title successfully with no errors)
6: Go back to the configuration page (admin/config/content/exclude_node_title)
7: DO NOT change the existing settings but DO click the "Save Configuration" button
8: Return to the page you hid the title for in step 5 and refresh the page... Title is now showing again!!!

dtone’s picture

Category: support » bug

The exact same error here. It worked properly, but in the last few days this error appears. I did update some other modules, but can't remember which ones.

tommyindigo’s picture

Same here. I received the error above during configuration. I was able to click the checkbox to exclude a node title, but it still appears when viewed. FYI, I did indeed run update as directed after installation. I'll try the dev version for now. This will be a great module once it's debugged. Thanks!

Tødd’s picture

I get the same error on a fresh install of D7. Exclude Node Title is the only module I've installed.

I'd like to try the dev version, but I can't figure out how. I un-abled the new version, uninstalled it through the panel, which didn't delete it from the folder. I deleted it manually, but I still can't install the dev version. I get an error when I try to install from a URL through the panel, and with Drush, I get "No release history was found for the requested project," with no resulting installation.

gabrielu’s picture

We could use the DEV version is quite stable.

That was my mistake not pushing the right .admin.inc file to the release, the one in DEV version is correct.
You should download version 7.x-1.5 that fixes this issue.

Sorry for that,
Gabriel

gabrielu’s picture

Status: Active » Needs review
gabrielu’s picture

Status: Needs review » Closed (fixed)

Checked the .admin.inc now and it seems fine. Closing issue.

Let me know,
Gabriel

drdave17’s picture

Folks the update worked 7.x-1.5 as Gabrielu said.

Thanks