• We are getting this error when loading content on “MailChimp For WordPress” form page.

    : Uncaught TypeError: Argument 1 passed to Mediavine\Grow\Share_Counts::post_share_counts() must be of the type int, null given,

    Looking at the code it’s checking if the post object is coming back but not if there is any content in it. Which in this case there isn’t any

    
    $post = dpsp_get_current_post();
    if ( $post ) 
    

    I have modified the code to check if the post ID is set in the short term but would be great to see dpsp_get_current_post return false if the are empty values in the post object

    if ( $post && !empty($post->ID) )

    Note: Using version 1.20.2

Viewing 1 replies (of 1 total)
  • Hey @kanopi,

    Thanks so much for letting us know about this and sorry for the delay! I went ahead and ran this by our plugin developers and this looks like something we should be able to take care of in a future release.

    Glad to hear you got things up and going for now and let us know if you run into any other issues!

Viewing 1 replies (of 1 total)

The topic ‘Issue with MailChimp For WordPress’ is closed to new replies.