ralphnohe

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: ACF Fields #4021
    ralphnohe
    Participant

    Dear Florian,
    I have updated to 2.28.4 and now it works fine. Thank you again for the great help – herzliche Grüße aus Nürnberg.
    Ralph

    in reply to: ACF Fields #4016
    ralphnohe
    Participant

    Thank you very much Florian, I just forward to you the login details.
    Best regards, Ralph

    in reply to: ACF Fields #4012
    ralphnohe
    Participant

    Hi Florian, thank you for getting back to me. I updated to2.28.3 but the fatal error persists. However, it seems it has changed slightly (same post URL as before). If you like, I can grant you direct access to our staging site, please let me know. Thank you and best regards – Ralph

    Fatal error: Uncaught Error: Call to a member function format() on bool in /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/pro/classes/model/acf.php:258 Stack trace: #0 /usr/www/users/nftpip/nftpilot-staging1/wp-includes/class-wp-hook.php(307): wpbuddy\rich_snippets\pro\ACF_Model::acf_field(‘field_61ab7251f…’, Object(wpbuddy\rich_snippets\Rich_Snippet), Array, false) #1 /usr/www/users/nftpip/nftpilot-staging1/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘field_61ab7251f…’, Array) #2 /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/classes/objects/rich-snippet.php(860): apply_filters(‘wpbuddy/rich_sn…’, ‘field_61ab7251f…’, Object(wpbuddy\rich_snippets\Rich_Snippet), Array, false) #3 /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/classes/objects/rich-snippet.php(955): wpbuddy\rich_snippets\Rich_Snippet->get_the_value(‘field_61ab7251f…’, Array) #4 /usr/www/users/nftpip/nftpilot-stagin in /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/pro/classes/model/acf.php on line 258

    in reply to: ACF Fields #4006
    ralphnohe
    Participant

    p.s. the field is NOT filled in this example, i.e. it is an optional field and empty for this specific post which throws the error (and I assume, all other posts which throw an error). I would still expect SNIP to work, i.e. override the missing value with a standard value if that is possible. I have advanced (but not expert) programming knowledge, so even a more complex solution should work.

    • This reply was modified 2 years, 9 months ago by ralphnohe.
    in reply to: ACF Fields #4004
    ralphnohe
    Participant

    hi Florian,
    Thank you very much for your guidance. Here you go – the following is a copy of the Debug Log Fatal Error message I am getting. The field mentioned several times is an ACF date picker field. Looking forward to hearing from you – thank you for any hints what could cause the error!

    BR
    Ralph

    Fatal error: Uncaught Error: Call to a member function format() on bool in /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/pro/classes/model/acf.php:261 Stack trace: #0 /usr/www/users/nftpip/nftpilot-staging1/wp-includes/class-wp-hook.php(307): wpbuddy\rich_snippets\pro\ACF_Model::acf_field(‘field_61ab7251f…’, Object(wpbuddy\rich_snippets\Rich_Snippet), Array, false) #1 /usr/www/users/nftpip/nftpilot-staging1/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘field_61ab7251f…’, Array) #2 /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/classes/objects/rich-snippet.php(860): apply_filters(‘wpbuddy/rich_sn…’, ‘field_61ab7251f…’, Object(wpbuddy\rich_snippets\Rich_Snippet), Array, false) #3 /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/classes/objects/rich-snippet.php(955): wpbuddy\rich_snippets\Rich_Snippet->get_the_value(‘field_61ab7251f…’, Array) #4 /usr/www/users/nftpip/nftpilot-stagin in /usr/www/users/nftpip/nftpilot-staging1/wp-content/plugins/rich-snippets-wordpress-plugin/pro/classes/model/acf.php on line 261

    in reply to: ACF Fields #3995
    ralphnohe
    Participant

    I have some additional questions related to the one above:

    1) is it possible to set conditional properties, which are only active if an ACF field exists in a post (assuming that not all fields are used in all posts)?

    2) is it possible to make the entire markup, e.g. for an event schema, conditional, i.e. the schema markup isn’t inserted in a post if NOT ALL of the ACF fields used in the properties have values?

Viewing 6 posts - 1 through 6 (of 6 total)