Just updated to the latest 7.x-3.x-dev and got the following error when viewing existing quicktabs:

Notice: Undefined index: use_title in QuickViewContent->render() (line 133 of C:\inetpub\wwwroot\XXXXX\sites\all\modules\contrib\quicktabs\plugins\QuickViewContent.inc).

Patch to follow.

Comments

WorldFallz’s picture

StatusFileSize
new567 bytes

And the patch.

WorldFallz’s picture

Title: Notice: Undefined index: use_title in QuickViewContent->render() (line 134 » Notice: Undefined index: use_title in QuickViewContent->render() (line 133
keva’s picture

Status: Active » Needs review

patch in #1 solved the issue for me

cthshabel’s picture

I have this error also appearing on line 74. I can't figure out why this is an issue?

Notice: Undefined index: use_title in QuickCallbackContent->render() (line 74 of ...example.com\sites\all\modules\contrib\quicktabs\plugins\QuickViewContent.inc).

EDIT:

The patch included resolved my errors for 133 thanks!

As for the errors on line 74, I noticed the code in QuickViewContent.inc was referencing the Ajax loaded content. To rid the warnings, I changed the quicktab Ajax setting to "Yes: Load only the first tab on page view", Saved the Quicktab, then changed back to "No: Load all tabs on page view.", and Saved again. No more errors.

Thanks for the original patch.

ey’s picture

Status: Needs review » Reviewed & tested by the community

Setting this to RTBC. Thanks for the patch.

ghaddon’s picture

Thanks for patch works great.

Palashvijay4O’s picture

Palashvijay4O’s picture

  • Palashvijay4O committed c3caac0 on 7.x-3.x
    Issue #2424579 by WorldFallz, Palashvijay4O, keva, cthshabel, GHaddon,...
sketman’s picture

Patch #1 works, thanks a lot!

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in #9

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

d0t101101’s picture

After upgrading to the latest DEV branch (which includes the patch), this error continued...
Fix was to then edit & resave the effected quicktabs under /admin/structure/quicktabs. Guessing something was off at either a caching layer or maybe resaving updated something in the DB...

Hope this helps!

joelpittet’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new1.46 KB

Something is strange about that commit. I have the latest 7.x-3.x deb code and that bit is missing...
I'm posting a new patch because there was a minor coding standards whitespace issue.

Status: Needs review » Needs work

The last submitted patch, 14: notice_undefined-2424579-14.patch, failed testing.

joelpittet’s picture

Status: Needs work » Closed (fixed)

Strange, it's in the git repo but the packager may have missed it.

4kant’s picture

@ #13: in my case clearing the cache was good enough.