Giter Club home page Giter Club logo

majordomo-charts's Introduction

majordomo-charts

Charts module

majordomo-charts's People

Contributors

ai91 avatar akeb avatar alexandr-logrus avatar directman66 avatar kvazimoda24 avatar london89 avatar olehs avatar positron48 avatar sergejey avatar skysilver-lab avatar zaitsev-ap avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

majordomo-charts's Issues

php error при добавлении новых данных в график при нажатии кнопки сохранить

$obj = getObject($chart_data['LINKED_OBJECT']);

при еще незаполненных данных по данным в лог апача пишется ошибка при сохранении нового ряда данных:
PHP Fatal error: Uncaught Error: Call to a member function getPropertyByName() on int in C:\\_majordomo\\htdocs\\modules\\charts\\charts.class.php:319\nStack trace:\n#0 C:\\_majordomo\\htdocs\\modules\\charts\\charts.class.php(105): charts->usual(Array)\n#1 C:\\_majordomo\\htdocs\\modules\\application.class.php(399) : eval()'d code(5): charts->run()\n#2 C:\\_majordomo\\htdocs\\modules\\application.class.php(399): eval()\n#3 C:\\_majordomo\\htdocs\\index.php(42): application->run()\n#4 C:\\_majordomo\\htdocs\\nf.php(151): include_once('C:\\\\_majordomo\\\\h...')\n#5 {main}\n thrown in C:\\_majordomo\\htdocs\\modules\\charts\\charts.class.php on line 319,

обходится добавлением следующей строки перед 319
318 $obj = getObject($chart_data['LINKED_OBJECT']);
... if(!$obj) exit;
319 $prop_id = $obj->getPropertyByName($chart_data['LINKED_PROPERTY'], $obj->class_id, $obj->id);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.