• We experience issue syncing data via ElasticPress plugin. During indexing process we get fatal error:

    Uncaught TypeError: Cannot access offset of type string on string in www/wp-content/plugins/give/includes/misc-functions.php:2293

    This happens with PHP 8.1 and latest versions of ElasticPress and Give plugins.

    The problem is that give_display_donation_receipt( $args ) gets $args as empty string instead of an array, for some reason.

    Workaround for us was to modify this method and check on top if $args is an array but this is only temporary solution. Can you please come up with long term fix and confirm here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @cih997,
    Glad you reached out. I’ll need to replicate what you are seeing on a test site, so I’ll need a little information to get started.

    First, send along your system information. You can do this by navigating to Donations > Tools > System Info (tab) and clicking the button to “Get System Report” and copy/paste that into your reply here.

    Next, send me some very detailed steps to follow so I can replicate what you are seeing. I’ll need for this to be step-by-step and as clear and detailed as you can make it. I’ll need to follow your process to replicate that error code. Once I have that replicable, I can create a report for our teams to begin tracking for a fix.

    Let me know if you have any questions in the meantime!

    Hi @cih997,
    It’s been a bit since I’ve heard back, so I’m marking this as resolved for now. I’m happy to give this a look and create a report for a fix, so feel free to send along those informational pieces for context here once you are ready. I can hop in from there! Have a great day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Give conflicts with ElasticPress’ is closed to new replies.