Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Gabor Lippert

    (@lunule)

    Placing the following snippet:

    if( !isset($post) ){
        return;
    }

    … into acf-extended\includes\module-post.php (above the $module = acfe_get_module_by_item($post->ID); line, originally at line 43) seems fixing the issue, but it would be nice to have an official patch.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    I took a look at the Profile Builder plugin, and it looks like it doesn’t correctly set a $post_id when using WP metaboxes, leading to this error in ACFE.

    I added the safe-guard logic you mentioned in the latest 0.8.9.4 udpate to avoid this issue.

    Thanks for the report!

    Regards.

    Thread Starter Gabor Lippert

    (@lunule)

    Hi Konrad,

    Thanks for taking a look into this, and for the info regarding what’s causing the issue. Not to mention the safe-guard logic – great idea and a very nice addition!!

    I also opened a topic in the Profile Builder plugin support forum as well (with a reference to this very topic included), because bugs are to be fixed.
    Hopefully, they’ll update the code accordingly on their end.

    Cheers ??

    • This reply was modified 1 year, 1 month ago by Gabor Lippert.
    • This reply was modified 1 year, 1 month ago by Gabor Lippert.
    • This reply was modified 1 year, 1 month ago by Yui.
    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Nice reflex! I added some context & explanations to your topic too.

    Have a nice day!

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error “Warning: Attempt to read property ‘ID’ on null”’ is closed to new replies.