Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Thanks for reaching out to the Redux support team.

    Can you please guide me on how to replicate this issue?

    Also, it will be helpful if you provided a more detailed debug log. You may mention the full error log of this issue.

    Thanks.

    Thread Starter NoraFranco

    (@nfn5876)

    Thanks for responding so quickly. The warning appears to be triggered when opening a post or page to edit.

    Using Edumodo Theme

    Full Warning Output:

     Warning:  array_intersect_key(): Expected parameter 1 to be an array, string given in /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1402
     Stack trace:
       1. {main}() /app/web/******/index.php:0
       2. require() /app/web/******/index.php:17
       3. wp() /app/web/******/wp/wp-blog-header.php:16
       4. WP->main() /app/web/******/wp/wp-includes/functions.php:1291
       5. WP->parse_request() /app/web/******/wp/wp-includes/class-wp.php:745
       6. do_action_ref_array() /app/web/******/wp/wp-includes/class-wp.php:388
       7. WP_Hook->do_action() /app/web/******/wp/wp-includes/plugin.php:551
       8. WP_Hook->apply_filters() /app/web/******/wp/wp-includes/class-wp-hook.php:311
       9. rest_api_loaded() /app/web/******/wp/wp-includes/class-wp-hook.php:287
      10. WP_REST_Server->serve_request() /app/web/******/wp/wp-includes/rest-api.php:354
      11. WP_REST_Server->dispatch() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:440
      12. WP_REST_Server->respond_to_request() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:1007
      13. WP_REST_Server->get_index() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:1160
      14. WP_REST_Server->get_data_for_routes() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:1243
      15. WP_REST_Server->get_data_for_route() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:1324
      16. array_intersect_key() /app/web/******/wp/wp-includes/rest-api/class-wp-rest-server.php:1402

    Hi,

    Thanks for providing this information. Unfortunately, “Edumodo Theme” is a premium theme that we don’t have.

    Kindly check this GitHub issue that has been reported for the same issue you have: https://github.com/reduxframework/redux-framework/issues/3767

    This GitHub issue shows that the user who reported the issue has confirmed that Redux version 4.1.24 fixes the issue.

    I’m sorry to ask you the same question but you didn’t confirm that the issue happens when only Redux and the Twenty Twenty one theme are active. Can you check that, please?

    Thanks.

    Thread Starter NoraFranco

    (@nfn5876)

    Hello, when switching to the Twenty twenty theme, the warning no long shows in the debug output. I contacted the theme developer and they could not reproduce the warning and unfortunately I am unable to share our login credentials.

    Upgrading to WP 5.6.2 did not solve the warning for me either ??

    I will try a fresh install of Redux 4.1.24

    Thanks

    mohammedeisa

    (@mohammedeisa)

    Hi,

    In case they can’t reproduce the issue on a fresh installation, you might provide them a testing website where the issue exists or provide them a copy of your website to work on it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: array_intersect_key()’ is closed to new replies.