Support » Plugin: Calculated fields for ACF » Error strpos(): Empty needle

  • Hi, using the Formula field I have this error back:

    Warning: strpos(): Empty needle in ../plugins/calculated-fields-for-acf/src/Fields.php on line 247

    what does it mean?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m getting this same error:

    Warning: strpos(): Empty needle in ../plugins/calculated-fields-for-acf/src/Fields.php on line 247

    I’m also getting the same error but it was not there before and i can’t figure out what is happening….. Some one to help please

    • This reply was modified 1 year, 4 months ago by moxhus.
    Plugin Author wundermatics

    (@wundermatics)

    Hi,

    Sorry for taking time to get back o this. We’ve had this reported directly to us via email as well.

    Just an update for now, we’re looking into how to best solve this.

    If possible, if any of you who are experiencing the issue want to help out, we’d be interested in seeing your ACF Field Group config for the post type that creates the issue. Export it via ACF -> Tools and paste the JSON file here. It will help us set upp tests to verify that we’ve solved the issue.

    I don’t know how long it will take to resolve this but my clients are fed up of the error message. Anyways below is the Json file you requested….
    [
    {
    “key”: “group_5f19acc5489a5”,
    “title”: “Monthly Reports”,
    “fields”: [
    {
    “key”: “field_5f19f0595c278”,
    “label”: “Basic Details”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f199b3148b93”,
    “label”: “Year”,
    “name”: “year”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 2020,
    “placeholder”: “”,
    “prepend”: “”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f199bdc48b94”,
    “label”: “Month”,
    “name”: “month”,
    “type”: “radio”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “choices”: {
    “January”: “January”,
    “February”: “February”,
    “March”: “March”,
    “April”: “April”,
    “May”: “May”,
    “June”: “June”,
    “July”: “July”,
    “August”: “August”,
    “September”: “September”,
    “October”: “October”,
    “November”: “November”,
    “December”: “December”
    },
    “allow_null”: 0,
    “other_choice”: 0,
    “default_value”: “”,
    “layout”: “horizontal”,
    “return_format”: “value”,
    “save_other_choice”: 0
    },
    {
    “key”: “field_5f19ffb9dd213”,
    “label”: “Rent Arrears”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f20174ac1459”,
    “label”: “Total Rent Arrears Demanded”,
    “name”: “total_rent_arrears_demanded”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 0,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0109dd215”,
    “label”: “Rent Arrears Received”,
    “name”: “rent_arrears_received”,
    “type”: “repeater”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “collapsed”: “”,
    “min”: 0,
    “max”: 0,
    “layout”: “table”,
    “button_label”: “Add New Arrears Payment”,
    “sub_fields”: [
    {
    “key”: “field_5f1a0109dd216”,
    “label”: “Tenant”,
    “name”: “tenant”,
    “type”: “post_object”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “post_type”: [
    “tenant”
    ],
    “taxonomy”: “”,
    “allow_null”: 0,
    “multiple”: 0,
    “return_format”: “object”,
    “ui”: 1
    },
    {
    “key”: “field_5f1a0109dd217”,
    “label”: “Rent Arrears Amount”,
    “name”: “rent_arrears_amount”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a029bdd223”,
    “label”: “Arrears Start Date”,
    “name”: “arrears_start_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f1a14eea1946”,
    “label”: “Arrears Start End Date”,
    “name”: “arrears_start_end_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f1a0109dd218”,
    “label”: “Arrears Date Received”,
    “name”: “arrears_date_received”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    }
    ]
    },
    {
    “key”: “field_5f1a0112dd219”,
    “label”: “Total Rent Arrears Received”,
    “name”: “total_rent_arrears_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “Sum(rent_arrears_received.rent_arrears_amount)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f20179cc145a”,
    “label”: “Total Unpaid Rent Arrears”,
    “name”: “total_unpaid_rent_arrears”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(total_rent_arrears_demanded)-(total_rent_arrears_received)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19f00a5c277”,
    “label”: “Current Payments Details”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f199d3148b95”,
    “label”: “Payments Received”,
    “name”: “payments_received”,
    “type”: “repeater”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “collapsed”: “”,
    “min”: 0,
    “max”: 0,
    “layout”: “table”,
    “button_label”: “Add New Payment”,
    “sub_fields”: [
    {
    “key”: “field_5f199f5048b98”,
    “label”: “Tenant”,
    “name”: “tenant”,
    “type”: “post_object”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “post_type”: [
    “tenant”
    ],
    “taxonomy”: “”,
    “allow_null”: 0,
    “multiple”: 0,
    “return_format”: “object”,
    “ui”: 1
    },
    {
    “key”: “field_5f3651ed55dec”,
    “label”: “Expected Rent”,
    “name”: “expected_rent”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f199ef548b97”,
    “label”: “Rent Amount”,
    “name”: “rent_amount”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a150fa1947”,
    “label”: “Current Start Date”,
    “name”: “current_start_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f1a156ba1948”,
    “label”: “Current End Date”,
    “name”: “current_end_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f199e9f48b96”,
    “label”: “Current Date Received”,
    “name”: “current_date_received”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    }
    ]
    },
    {
    “key”: “field_5f19a08e48b99”,
    “label”: “Total Current Rent Received”,
    “name”: “total_current_rent_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “Sum(payments_received.rent_amount)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f36523655ded”,
    “label”: “Total Expected Current Rent Received”,
    “name”: “total_expected_current_rent_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “Sum(payments_received.expected_rent)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19fffbdd214”,
    “label”: “Prepaid Rent”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f1a020ddd21a”,
    “label”: “Prepaid Rent Received”,
    “name”: “prepaid_rent_received”,
    “type”: “repeater”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “collapsed”: “”,
    “min”: 0,
    “max”: 0,
    “layout”: “table”,
    “button_label”: “Add New Prepaid Payment”,
    “sub_fields”: [
    {
    “key”: “field_5f1a020ddd21b”,
    “label”: “Tenant”,
    “name”: “tenant”,
    “type”: “post_object”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “post_type”: [
    “tenant”
    ],
    “taxonomy”: “”,
    “allow_null”: 0,
    “multiple”: 0,
    “return_format”: “”,
    “ui”: 1
    },
    {
    “key”: “field_5f1a020ddd21c”,
    “label”: “Prepaid Amount”,
    “name”: “prepaid_amount”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0310dd226”,
    “label”: “Prepaid Start Date”,
    “name”: “prepaid_start_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f1a0310dd227”,
    “label”: “Prepaid End Date”,
    “name”: “prepaid_end_date”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    },
    {
    “key”: “field_5f1a020ddd21d”,
    “label”: “Prepaid Date Received”,
    “name”: “prepaid_date_received”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    }
    ]
    },
    {
    “key”: “field_5f1a0213dd21e”,
    “label”: “Total Prepaid Amount Received”,
    “name”: “total_prepaid_amount_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “Sum(prepaid_rent_received.prepaid_amount)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19efa95c276”,
    “label”: “Expense Details”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f19a35dac1aa”,
    “label”: “Monthly Expenses”,
    “name”: “monthly_expenses”,
    “type”: “repeater”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “collapsed”: “”,
    “min”: 0,
    “max”: 0,
    “layout”: “table”,
    “button_label”: “Add New Expense”,
    “sub_fields”: [
    {
    “key”: “field_5f36609ea1911”,
    “label”: “Activities carried Out”,
    “name”: “activities_carried_out”,
    “type”: “checkbox”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “50”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “choices”: {
    “Re-innovation”: “Re-innovation”,
    “Broker”: “Broker”,
    “Roof Linking”: “Roof Linking”,
    “Painting”: “Painting”
    },
    “allow_custom”: 1,
    “save_custom”: 1,
    “default_value”: false,
    “layout”: “horizontal”,
    “toggle”: 0,
    “return_format”: “value”
    },
    {
    “key”: “field_5f19a35dac1ad”,
    “label”: “Rental”,
    “name”: “rental”,
    “type”: “post_object”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “post_type”: [
    “rental”
    ],
    “taxonomy”: “”,
    “allow_null”: 0,
    “multiple”: 0,
    “return_format”: “object”,
    “ui”: 1
    },
    {
    “key”: “field_5f19a35dac1ac”,
    “label”: “Expense Amount”,
    “name”: “expense_amount”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19a35dac1ab”,
    “label”: “Date Incured”,
    “name”: “date_incured”,
    “type”: “date_picker”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “display_format”: “d\/m\/Y”,
    “return_format”: “d\/m\/Y”,
    “first_day”: 1
    }
    ]
    },
    {
    “key”: “field_5f19a470ac1ae”,
    “label”: “Total Expenses”,
    “name”: “total_expenses”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “Sum(monthly_expenses.expense_amount)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a052bdd228”,
    “label”: “Gross Current Month Payments Received”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 1
    },
    {
    “key”: “field_5f19d2726ab2e”,
    “label”: “Gross Current Month Rent Amount Received”,
    “name”: “gross_current_month_rent_amount_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(total_current_rent_received)-(total_expenses)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19eebeba130”,
    “label”: “Overall Monthly Summary”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f36542176b0f”,
    “label”: “Empty Rentals”,
    “name”: “empty_rentals”,
    “type”: “group”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “layout”: “table”,
    “sub_fields”: [
    {
    “key”: “field_5f3653c276b0e”,
    “label”: “Number of Empty Rentals this month”,
    “name”: “number_of_empty_rentals_this_month”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 0,
    “placeholder”: “”,
    “prepend”: “”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f36545976b10”,
    “label”: “Total Expected Rent From Them”,
    “name”: “total_expected_rent_from_them”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 0,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    }
    ]
    },
    {
    “key”: “field_5f3656f6a99c4”,
    “label”: “Total Arrears Received for this month”,
    “name”: “total_arrears_received_for_this_month”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 0,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a073edd22a”,
    “label”: “Expected Monthly Rent”,
    “name”: “expected_monthly_rent”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “4355000-((empty_rentals.total_expected_rent_from_them)+(total_arrears_received_for_this_month))”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: 4355000,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0801dd22d”,
    “label”: “Current Rent Received”,
    “name”: “current_rent_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “total_current_rent_received”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0855dd22e”,
    “label”: “Total Monthly Outstanding Balance”,
    “name”: “total_monthly_outstanding_balance”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(expected_monthly_rent)-(total_current_rent_received)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a08c7dd22f”,
    “label”: “Overall Total Rent Arrears Received”,
    “name”: “overall_total_rent_arrears_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “total_rent_arrears_received”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0904dd230”,
    “label”: “Overall Total Prepaid Amount Received”,
    “name”: “overall_total_prepaid_amount_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “total_prepaid_amount_received”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0fd3d7e75”,
    “label”: “Banked Amount”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 0
    },
    {
    “key”: “field_5f1a06c8dd229”,
    “label”: “Overall Gross Rent Amount Received”,
    “name”: “overall_gross_rent_amount_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(total_rent_arrears_received+total_current_rent_received+total_prepaid_amount_received)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f20118f550a8”,
    “label”: “Overall Net Rent Amount Received”,
    “name”: “overall_net_rent_amount_received”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(overall_gross_rent_amount_received)-(total_expenses)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f1a0979dd231”,
    “label”: “Total Amount Banked”,
    “name”: “total_amount_banked”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f201087550a7”,
    “label”: “Balance Unbanked”,
    “name”: “balance_unbanked”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “(overall_net_rent_amount_received)-(total_amount_banked)”,
    “readonly”: 0,
    “only_front”: 0,
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “UGX”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    },
    {
    “key”: “field_5f19d42870f68”,
    “label”: “Monthly Bank Receipt”,
    “name”: “monthly_bank_receipt”,
    “type”: “image”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “return_format”: “array”,
    “preview_size”: “medium”,
    “library”: “all”,
    “min_width”: “”,
    “min_height”: “”,
    “min_size”: “”,
    “max_width”: “”,
    “max_height”: “”,
    “max_size”: “”,
    “mime_types”: “”,
    “custom_site_logo”: 0,
    “custom_feature_image”: 0
    },
    {
    “key”: “field_5f1a0aa530b4e”,
    “label”: “Please Ignore The Error Message Below”,
    “name”: “”,
    “type”: “tab”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “formula”: “”,
    “readonly”: 0,
    “only_front”: 0,
    “placement”: “top”,
    “endpoint”: 1
    }
    ],
    “location”: [
    [
    {
    “param”: “post_type”,
    “operator”: “==”,
    “value”: “monthly_report”
    }
    ]
    ],
    “menu_order”: 0,
    “position”: “normal”,
    “style”: “default”,
    “label_placement”: “top”,
    “instruction_placement”: “label”,
    “hide_on_screen”: “”,
    “active”: true,
    “description”: “”
    }
    ]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error strpos(): Empty needle’ is closed to new replies.