# Error on Dashboards

**URL:** <https://community.openenergymonitor.org/t/error-on-dashboards/1601>\
**Category:** Emoncms\
**Tags:** graphs\
**Created:** [17 September 2016 01:37 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601 "2016-09-17T01:37:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jon/32/1876_2.png) [@Jon](https://community.openenergymonitor.org/u/Jon)\
**Post date:** [17 September 2016 01:37 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/1 "2016-09-17T01:37:41Z")

</div>

@TrystanLea - I recently started with a new SD card and the emonSD-03May16 image. I did an emonPi update and I get this error on all of the Dashboards:

```auto
Notice: Undefined property: stdClass::$name in /var/www/emoncms/Modules/graph/widget/graph_widget.php on line 11

```

 ![](https://community.openenergymonitor.org/uploads/default/original/2X/f/f61a7761404f261e58403ab0ede80bdc02283d13.png)

Not sure if this is related to the recent changes in the graphs.

> [@Emoncms Graph module developments](https://community.openenergymonitor.org/t/emoncms-graph-module-developments/1380):
>
> I’ve done a little more work on the emoncms graph module, also known as the data viewer accessible from the feeds list page. The main additions are: Ability to save graphs and embed these in dashboards Settable plot colour and fill Tooltips Watt hours in window for power feeds Settable yaxis min and max Improved responsive design I’ve put together a short demo video here of these new additions: [[Emoncms Graph Module Development 28th August] ](https://www.youtube.com/watch?v=4XVRtCnLIYA) With a bit more work it should be poss…

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [18 September 2016 11:03 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/2 "2016-09-18T11:03:01Z")

</div>

Hello Jon, the recent changes to the graph module require a new table to be created. If you navigate to Setup \> Administration and then run Update and Check that should sort it for you.

---

<div class="post-metadata">

**Author:** ![Jon](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jon/32/1876_2.png) [@Jon](https://community.openenergymonitor.org/u/Jon)\
**Post date:** [18 September 2016 13:32 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/3 "2016-09-18T13:32:08Z")

</div>

I did the Update & Check yesterday and received the yellowish background and then clicked Apply (or OK - I don’t remember). But that did not correct the error above. Today I did the Update & Check then the message “Database is up to date - Nothing to do”.

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [18 September 2016 13:42 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/4 "2016-09-18T13:42:03Z")

</div>

Ok, I’ve made a small change that should fix this in the graph module, if you can run emonpi update again, it should bring it in and hopefully sort it

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [18 September 2016 13:44 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/5 "2016-09-18T13:44:31Z")

</div>

> [@Jon](#):
>
> I get this error on all of the Dashboards

All dashboards or just the ones with graphs already on? If you had dashboards with “non-id’d” graphs and have now updated/installed to the latest graphs module you may need to delete the graphs from those dashboards and add them again so they have “ids” not “names”. Try creating a new graph and add it to a new dash, does that work ok?

Also have you tried clearing the browser cache?

EDIT - forget that @TrystanLea has posted while I was writing!

---

<div class="post-metadata">

**Author:** ![Jon](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/jon/32/1876_2.png) [@Jon](https://community.openenergymonitor.org/u/Jon)\
**Post date:** [18 September 2016 14:17 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/6 "2016-09-18T14:17:08Z")

</div>

Trystan - That fixed it! Thank you!

Paul - it was Dashboards with graphs. And I had deleted the cache. And I had re-saved the Visualization (Extra \> Visualization) and then re-saved the Dashboard, but no luck. Yesterday I did not try deleting and recreating graphs.

Thanks again! Jon

---

<div class="post-metadata">

**Author:** ![Pgutti](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pgutti/32/1757_2.png) [@Pgutti](https://community.openenergymonitor.org/u/Pgutti)\
**Post date:** [27 October 2016 10:40 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/7 "2016-10-27T10:40:37Z")

</div>

Hi!  
I have the same error message, suddenly.  
ErrorMsg: Notice: Undefined property: stdClass::$name in /var/www/emoncms/Modules/graph/widget/graph\_widget.php on line 11

More serious: When starting a dashboard from the Dashboard menu, **it will not open** … nothing happens.  
But when opening from the setup screen, pushing the eye, the dashboard opens, with above error.

---

<div class="post-metadata">

**Author:** ![Pgutti](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pgutti/32/1757_2.png) [@Pgutti](https://community.openenergymonitor.org/u/Pgutti)\
**Post date:** [1 November 2016 23:47 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/8 "2016-11-01T23:47:50Z")

</div>

I’m using the .org version of emonCMS\*\*.org.\*\*  
Since a few weeks i get this error messages on my dashboards:

> _Undefined property: stdClass::$name in /var/www/emoncms/Modules/graph/widget/graph\_widget.php on line 11_

The dashboard then is displayed correctly (except the error msg).

In addition, dashboards cannot be called from the dasboard menu: No data displayed.  
But form the “Edit Dashboard” screen it can be called (view icon)

I did a few tests: With and without graphs, text headers, etc. Result: The errror occures even on an empty screen!

btw, i get this error msg also in edit mode!

 ![](https://community.openenergymonitor.org/uploads/default/original/2X/0/0142a19cb8f1f6bc08fbf162ed0636514729a3d7.png)

---

<div class="post-metadata">

**Author:** ![Pgutti](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pgutti/32/1757_2.png) [@Pgutti](https://community.openenergymonitor.org/u/Pgutti)\
**Post date:** [28 November 2016 16:34 UTC](https://community.openenergymonitor.org/t/error-on-dashboards/1601/9 "2016-11-28T16:34:40Z")

</div>

I tried just now again - now the error message is gone! Thanks to anyone who corrected that bug.
