• Resolved amueller

    (@amueller)


    Hello,

    I am wanting to index a custom post type which includes ACF custom fields. I have narrowed down my issue to a set of checkboxes. When I have the indexing options set to index the custom post type, and one of the checkboxes is marked, WordPress will return the following errors once I publish or update the post:

    Warning: Illegal offset type in isset or empty in /home/whatis/staging/1/wp-content/plugins/relevanssi/lib/indexing.php on line 737

    Warning: Cannot modify header information – headers already sent by (output started at /home/whatis/staging/1/wp-content/plugins/relevanssi/lib/indexing.php:737) in /home/whatis/staging/1/wp-admin/post.php on line 197

    When I turn off indexing or clear the checkboxes, the error goes away.

    If this helps, here are the options I have set in the ACF Choices field:

    online : Online - On Demand
    online-scheduled : Online - Scheduled
    on-site : On-site
    classroom : Classroom
    self-study : Self-Study

    I noticed that the most recent plugin update added some code to the end of lib/indexing.php that relates to these settings. These features were working correctly before the update. Was there something in this update that explains the error, or do I need to change something on my end? The website is https://whatis.fm. Thanks in advance for help.

    • This topic was modified 8 years, 2 months ago by amueller.
    • This topic was modified 8 years, 2 months ago by amueller.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Indexing ACF checkboxes causes error’ is closed to new replies.