Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Adding metadata element to relationship

edited June 25 in Troubleshooting

CollectiveAccess - Providence - V 1.7.8

Platform - Ubuntu 20.04
PHP v7.4.3
mariadb 10.3

Created metadataElement, Date of marriage

Created userInterface, Marriage,
restricted to entity x entity, individual

Added to Marriage a screen, marriage,

Added Date of Marriage to screen, marriage.

Created entity, individual, George B. Foote, Jr.

Added relationship, to spouce, Lisa Foote

Clicked on paperclip to add marriage info (Date of Marriage)

Result is the following error (relevant configuration is below):

Fatal error: Uncaught Error: Call to a member function getParameter() on null in /var/www/html/app/lib/ResultContext.php:617 Stack trace: #0 /var/www/html/app/lib/BaseInterstitialController.php(127): ResultContext->getParameter() #1 /var/www/html/app/lib/Controller/RequestDispatcher.php(273): BaseInterstitialController->Form() #2 /var/www/html/app/lib/Controller/AppController.php(113): RequestDispatcher->dispatch() #3 /var/www/html/index.php(120): AppController->dispatch() #4 {main} thrown in /var/www/html/app/lib/ResultContext.php on line 617

How do I resolve this?



<metadataElement code="date_of_marriage" datatype="DateRange">
    <label locale="en_US">
      <name>Date of marriage</name>
      <description>Date of marriage</description>
        <setting name="minAttributesPerRow">1</setting>
        <setting name="maxAttributesPerRow">1</setting>
        <setting name="minimumAttributeBundlesToDisplay">1</setting>

<userInterface code="marriage" type="ca_entities_x_entities" typeRestrictions="d_spouse" includeSubtypes="0">
    <label locale="en_US">
    <permission user="gbf" access="edit"/>
    <screen idno="screen_26_0" default="1" color="000000" typeRestrictions="d_spouse" includeSubtypes="0">
        <label locale="en_US">
        <placement code="ca_attribute_d_comments1">

<relationshipTable name="ca_entities_x_entities">
    <type code="related" default="1">
        <label locale="en_US">
          <typename>is related to</typename>
          <typename_reverse>is related to</typename_reverse>
    <type code="d_parent_child" default="0">
        <label locale="en_US">
    <type code="d_spouse" default="0">
        <label locale="en_US">
Sign In or Register to comment.