• Resolved anthonyqkiernan

    (@anthonyqkiernan)


    Hi there,

    My index is generating the proper updated links using your plug-in. But, when I follow one, I get a 404 page with the following two errors

    Warning: Invalid argument supplied for foreach() in …\wp-content\plugins\custom-fields-permalink-redux\includes\class-wp-post-meta.php on line 38

    Warning: array_key_exists() expects parameter 2 to be array, boolean given in …\wp-content\plugins\custom-fields-permalink-redux\includes\class-wp-post-meta.php on line 59

    Have I missed something obvious?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter anthonyqkiernan

    (@anthonyqkiernan)

    Let me answer this myself. I tried to concat the fields in the name using ‘-‘. replacing this with a / works

    Plugin Author athlan

    (@athlan)

    Hello.

    If you enjoy plugin I encourage you to give some rating ??

    I couldn’t reproduce your issue even field name contain a dash.

    Thanks a lot fot contact. If you have any further details witch reproducible error, please raise a issue: https://github.com/athlan/wordpress-custom-fields-permalink-plugin/issues then I will try to fix it soon. You can include on it:

    1. Which version of plugin are you using?
    2. Do you have specified some hook filter on wpcfp_get_post_metadata?
    3. Which plugin are you using?
    4. Are you refering to non-existing post to generate permalink maybe?
    5. Are you able to provide full reproducible scenario?

    Hi
    I also encountered a similar error.
    When an article is set to private, the following error is displayed.
    Warning: Invalid argument supplied for foreach() in /var/www/html/web/wp/wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-post-meta.php on line 38

    Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/html/web/wp/wp-content/plugins/custom-fields-permalink-redux/includes/class-wp-post-meta.php on line 59

    Plugin Author athlan

    (@athlan)

    Hello,

    thanks for raising an issue!
    Let’s continue that on github.

    https://github.com/athlan/wordpress-custom-fields-permalink-plugin/issues/38

    Plugin Author athlan

    (@athlan)

    Please be informed that issue has been fixed in 1.5.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error on post page’ is closed to new replies.