Results 1 to 6 of 6

Thread: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

  1. #1
    robind2 is offline Member
    Join Date
    Apr 2010
    Posts
    16

    Default Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    Hi, I'm receiving this error on my homepage, something to do with dashlets. I'm thinking there's a missing dashletviewdefs.php, but when I add one, I get MORE errors.

    Thoughts?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    Let us know your Sugar version and print screen of such error.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    robind2 is offline Member
    Join Date
    Apr 2010
    Posts
    16

    Default Re: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    Here are the errors as they show up in Sugar (6.0.0 build 3905):


    Notice: Undefined variable: dashletData in /var/www/sites/https-stcrm.myseniortouch.com/html/include/Dashlets/DashletGeneric.php on line 304

    Warning: Invalid argument supplied for foreach() in /var/www/sites/https-stcrm.myseniortouch.com/html/include/Dashlets/DashletGeneric.php on line 305

    Notice: Undefined variable: dashletData in /var/www/sites/https-stcrm.myseniortouch.com/html/include/Dashlets/DashletGeneric.php on line 313

    Notice: Undefined index: name in /var/www/sites/https-stcrm.myseniortouch.com/html/include/Dashlets/DashletGeneric.php on line 340

    Notice: Undefined index: width in /var/www/sites/https-stcrm.myseniortouch.com/html/include/ListView/ListViewSmarty.php on line 82

    Notice: Undefined index: width in /var/www/sites/https-stcrm.myseniortouch.com/html/include/ListView/ListViewSmarty.php on line 88

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    It seems there is a wrong dashlet metadata in your instance.
    Try to Quick Repair and Rebuild

    Best regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    katherinem is offline Member
    Join Date
    Jul 2010
    Posts
    6

    Default Re: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    I'm also receiving this error message.

    Warning: Invalid argument supplied for foreach() in /usr/local/www/sugarcrm/include/Dashlets/DashletGeneric.php on line 305

    I tried repair & rebuild and this did not fix the error.

    Sugar Professional 6.0
    PHP Version: 5.2.11
    Database Version: MySQL 5.1
    Deployment Option: on premise
    Web Server: Apache 2.2

  6. #6
    z3r0 is offline Sugar Community Member
    Join Date
    May 2009
    Posts
    189

    Question Re: Notice: Undefined variable: dashletData in DashletGeneric.php on line 304

    Hi,

    i have the same problem like robind2, exists any solution for this?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2008-12-11, 05:24 PM
  2. Replies: 0
    Last Post: 2006-10-16, 06:55 PM
  3. Notice: Undefined index
    By reginato in forum Help
    Replies: 0
    Last Post: 2006-02-14, 09:23 AM
  4. Replies: 2
    Last Post: 2004-11-10, 02:44 PM
  5. Notice: Undefined index:
    By AtomicJunction in forum Help
    Replies: 2
    Last Post: 2004-08-10, 06:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •