CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error - Notice: Undefined property: stdClass::$componentid
Pages: [1]

Author Topic: Error - Notice: Undefined property: stdClass::$componentid  (Read 3010 times)

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Error - Notice: Undefined property: stdClass::$componentid
November 28, 2011, 09:10:39 pm
Hi,

I have installed CiviCRM 4.0.7 in Joomla 1.7.3. The backend works. I have created a menu item for CiviMember. However, the frontend menu link produces this error:
Notice: Undefined property: stdClass::$componentid in /home/cfcfflus/public_html/sitecamber/libraries/joomla/application/menu.php on line 245

Is this a compatibility issue or a misconfiguration on my part?

Thanks in advance for your comments and help.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error - Notice: Undefined property: stdClass::$componentid
November 29, 2011, 03:17:49 am
"Undefined property" messages are PHP warnings about small issues in the CiviCRM codebase. Generally speaking, such messages can be safely ignored.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Error - Notice: Undefined property: stdClass::$componentid
November 29, 2011, 08:13:57 am
Thanks for the info. This error showed up when I set my server error reporting to maximum because I was getting a blank page when viewing a CiviCRM menu item. I have to uninstall CiviCRM and also drop all the related tables then reinstall CiviCRM. After the reinstallation, I still got the error messages but the good news is the page already showed the CiviCRM menu item. I'm still wondering what caused the blank pages. Anyway, I went back to set server error reporting to system default to hide the error messages. It is working now and hope I won't get these blank pages back.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error - Notice: Undefined property: stdClass::$componentid
November 29, 2011, 08:26:15 am
OK. If you get blank pages again, just let us know.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

acostaron

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.3
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Error - Notice: Undefined property: stdClass::$componentid
November 29, 2011, 11:49:54 am
Thanks. I will post updates if I get the blanks back.

chankartat

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Joomla 2.5.7
  • MySQL version: 5.1.63
  • PHP version: 5.3.8
Re: Error - Notice: Undefined property: stdClass::$componentid
January 09, 2012, 12:31:23 pm
Hi acostran,

I have the same problem. May I know how you "set server error reporting to system default to hide the error messages" ?



chankartat

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Joomla 2.5.7
  • MySQL version: 5.1.63
  • PHP version: 5.3.8
Re: Error - Notice: Undefined property: stdClass::$componentid
January 09, 2012, 08:47:20 pm
There's a bug in the file /com_civicrm/site/civicrm.php line 55 "$item       =  $menu->getItems('componentid', $component->id, true)" .
Replace 'componentid' with 'component_id' will solve the problem.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error - Notice: Undefined property: stdClass::$componentid

This forum was archived on 2017-11-26.