Skip to content Skip to sidebar

This topic contains 0 reply, has 0 voices.

Last updated by ezekielB 1 week ago.

Assisted by: Andreas W..

Author Posts
July 11, 2025 at 4:41 pm #17229076

ezekielB

Background of the issue:
I am trying to edit an existing page from the WordPress admin area while WPML Sticky Links is active. The goal is to maintain the plugin while supporting links that open in a new tab using target="_blank". The issue can be seen at: hidden link.

Symptoms:
I expected to see the block editor or classic editor interface load so I can edit page content normally. Instead, I got a fatal error screen with the following error: Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in wp-content/plugins/wpml-sticky-links/classes/custom-fields.php on line 169. This only occurs after adding links with target="_blank" in a custom page template. Prior to that, the plugin worked fine.

Questions:
How can I resolve the fatal error when editing pages with WPML Sticky Links enabled?
Is there a way to maintain the plugin functionality while supporting links that open in a new tab?