AdvancedCustomFields / AdvancedCustomFields/acf

WordPress Error Protection reporting problems with acf pro 5.8.7

Open
#261 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

Hi,
After recent updates I'm receiving automatic emails with reports about acf pro 5.8.7 related errors. Everything seems to work fine (I will test sites thoroughly, but need time), but I think I should let you guys know. Wordpress 5.3.1, php 7.3.1, emails are created by this recently introduced in wordpress 5.2 automatic reporting.

===================
Error type E_ERROR on line 104 in file /home/.../public_html/.../wp-content/plugins/advanced-custom-fields-pro/acf.php. Error message: Uncaught Error: Call to undefined function acf_include() in /home/.../public_html/.../wp-content/plugins/advanced-custom-fields-pro/acf.php:104
Stack trace:
#0 /home/.../public_html/.../wp-content/plugins/advanced-custom-fields-pro/acf.php(609): ACF->initialize()
#1 /home/.../public_html/.../wp-content/plugins/advanced-custom-fields-pro/acf.php(615): acf()
#2 /home/.../public_html/.../wp-settings.php(360): include_once('/home/.../pu...')
#3 /home/.../public_html/.../wp-config.php(89): require_once('/home/.../pu...')
#4 /home/.../public_html/.../wp-load.php(37): require_once('/home/.../pu...')
#5 /home/.../public_html/.../wp-admin/admin-ajax.php(22): require_once('/home/.../pu...')
#6 {main}
thrown

If you need any more information, please let me know.

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

Start with acf.php at line 104 and the initialization path shown in the stack trace. Reproduce the reported error using the stated WordPress 5.3.1, PHP 7.3.1, and ACF Pro 5.8.7 versions, then determine whether the undefined acf_include() call can be consistently triggered; the issue is done only when the cause and a verified correction are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.