Skip to content

Instantly share code, notes, and snippets.

View jmlweb's full-sized avatar
:octocat:
Cannot read property of undefined

José Manuel Lucas jmlweb

:octocat:
Cannot read property of undefined
View GitHub Profile
{"errors":[{"error":"WSException : Internal Error: The specified web service as encounter an internal error. [debug: sophia.service.Services.get_use_cases_available : Traceback (most recent call last):\n File \"/opt/sophia/SophiaFramework/src_json_gateway/wsgi_json.py\", line 114, in application\n ws_result = method_instance( **params )\n File \"<decorator-gen-199>\", line 2, in get_use_cases_available\n File \"/opt/sophia/SophiaFramework/src/helper/DecoratorUtils.py\", line 233, in _authenticate_session\n return __authenticate_session( *args, **kwargs )\n File \"/opt/sophia/SophiaFramework/src/helper/DecoratorUtils.py\", line 231, in __authenticate_session\n return func( *args, **kwargs )\n File \"/opt/sophia/SophiaFramework/src/service/Services.py\", line 220, in get_use_cases_available\n vo_person = LazyLoadingFactory.get_from_id( LazyVOPerson, per_id )\n File \"/opt/sophia/SophiaFramework/src/helper/LazyLoadingFactory.py\", line 19, in get_from_id\n return klass.resolve_item_ref( id_t
import React, { useEffect, useState, memo } from 'react';
const MyComponent = () => {
const [foo, setFoo] = useState('foo');
useMemo(() => {
// componentWillMount
}, []);
useEffect(() => {