AdvancedCustomFields / AdvancedCustomFields/acf

Errors in acf-value-functions.php

Open
#291 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

I don't know if this is caused by something I've done or not but on any refresh of the admin area I'm getting a lot of repeated errors in the debug.log:

PHP Notice:  Array to string conversion in /wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 67
PHP Notice:  Array to string conversion in /wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php on line 92

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect includes/acf-value-functions.php at lines 67 and 92, then reproduce the notices by refreshing the admin area with debug logging enabled. Trace which values are arrays at those locations; done means the repeated Array to string conversion notices no longer appear in debug.log.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.