Edit page dies with “Link not found.” message

[ad_1]

Hi Konrad,

On a certain setup (summarized at the end), I get this error where the edit page dies with the message “Link not found.” The issue doesn’t exist when ACF Extended is not activated and this is the log message when the edit page loads.

PHP Notice: Undefined index: link_id in /nas/content/live/cardinalpeakd/wp-admin/link.php on line 116

It looks like this link.php file is mistakenly accessed with the setup. In other cases, the edit page loads fine and link.php file is not accessed.

I’m not sure if this will help but when link.php is accessed, I can see in the logs that an “action” called “acfe/flexible/layout_preview” is recorded.

These are the plugin versions I’m using. Both the dev and the live sites have the same issue.

Dev: ACF PRO – 6.2.4 | ACFE – 0.8.9.5

Live: ACF PRO – 6.3.6 | ACFE – 0.9.0.7 (both latest)

Please have a look when you have a chance and feel free to let me know if you need more information from me.

Thank you for the time!

The setup that’s giving me the issues is as follows. Please also refer to the screenshots.

“Content Groups” Field Group (Flexible Content) -> “Simple” Layout -> “Simple” Component Field -> “Simple” Component (Flexible Content) -> Any Layout

If no layout is added to the “Simple” component, the issue is not present (see the “OK Screen” attachment).

Content Groups Field Group Settings
Simple Component Settings
OK Screen
Adding Simple Layout to Content Groups
Adding Layout to Simple
Error Screen
No issue when ACFE deactivated
  • This topic was modified 1 day, 4 hours ago by 14oangus.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer