Immediately after upgrading my Joomla version from 3.9.1 to 3.9.4, I can no longer access certain Simple CRM submenus in the backend.
The Company Codes link works properly.
(http://localhost/jdem02/administrator/index.php?option=com_gscrm&view=Codes
)
The following do not:
Simple CRM
(http://localhost/jdem02/administrator/index.php?option=com_gscm
)User Management
(http://localhost/jdem02/administrator/index.php?option=com_gscrm&view=Beads
)User Roles
(http://localhost/jdem02/administrator/index.php?option=com_gscrm&view=Roles
)Currencies & Rates
(http://localhost/jdem02/administrator/index.php?option=com_gscrm&view=Currencies
)
They all generate the same error:
0 Call to a member function getModel() on null
C:\wamp64\www\jdem02\libraries\fof30\Form\Field\Numeric.php:25
How do I fix this?
p.s. I am not interested in lowering my Joomla version.
Update:
This is my administrator/components/com_gscrm/View
directory structure:
Here is the Roles form.default.xml script:
<?xml version="1.0" encoding="UTF-8"?>
<form type="browse"
show_header="1"
show_filters="1"
show_pagination="1"
norows_placeholder="COM_GSCRM_COMMON_NORECORDS">
<headerset>
<header name="gscrm_role_id" type="RowSelect" label="COM_GSCRM_ROLES_GSCRM_ROLE_ID_LABEL" />
<header name="role_id" label="COM_GSCRM_ROLES_GSCRM_ROLE_ID_LABEL" description="COM_GSCRM_ROLES_GSCRM_ROLE_ID_DESC"/>
<header name="title" type="Searchable" label="COM_GSCRM_ROLES_TITLE_LABEL"/>
<header name="parent" label="COM_GSCRM_ROLES_PARENT_LABEL" sortable="true"/>
<header name="child" label="COM_GSCRM_ROLES_CHILD_LABEL" sortable="true"/>
<header name="code" type="Searchable" label="COM_GSCRM_ROLES_CODE_LABEL" sortable="true"/>
<header name="enabled" type="Published" label="COM_GSCRM_ROLES_ENABLED_LABEL" sortable="true"/>
<header name="access" type="AccessLevel" label="COM_GSCRM_ROLES_ACCESS_LABEL" sortable="true"/>
</headerset>
<fieldset name="items">
<field name="gscrm_role_id" type="SelectRow"/>
<field name="gscrm_role_id" id="role_id" type="text"/>
<field name="title" type="Sortable" url="index.php?option=com_gscrm&view=Role&id=[ITEM:ID]&[TOKEN]=1"/>
<field name="parent" type="Numeric"/>
<field name="child" type="Numeric"/>
<field name="code" type="ViewTemplate" emptylabel="1"
source="admin:com_gscrm/Beads/Code_name"
/>
<field name="enabled" type="Actions"/>
<field name="access" type="AccessLevel"/>
</fieldset>
</form>