• Resolved wampirius

    (@wampirius)


    Hello

    Excuse me, I have to use the google translate and I hope it is understandable.

    I am using this plugin to share blog posts. The plugin is displayed and works very well, but today I found a problem: When passing several entries to draft so that they would not be displayed, these errors have jumped me (I copy everything that has appeared on the screen):


    Warning: Attempt to read property “post_type” on null in /var/www/html/wp-content/plugins/kiwi-social-share/includes/lib/class-kiwi-social-share-click-to-tweet.php on line 55

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/kiwi-social-share/includes/lib/class-kiwi-social-share-click-to-tweet.php:55) in /var/www/html/wp-admin/includes/misc.php on line 1381

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/kiwi-social-share/includes/lib/class-kiwi-social-share-click-to-tweet.php:55) in /var/www/html/wp-includes/functions.php on line 6878

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/kiwi-social-share/includes/lib/class-kiwi-social-share-click-to-tweet.php:55) in /var/www/html/wp-includes/pluggable.php on line 1421

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/kiwi-social-share/includes/lib/class-kiwi-social-share-click-to-tweet.php:55) in /var/www/html/wp-includes/pluggable.php on line 1424

    I understand that what is really important is the first warning, which seems to be trying to read a null value. I suppose the solution would be to put a condition, but I’m not sure and I don’t know how to do it.

    I was able to get the job done by disabling the plugin and then re-enabling it, but it’s still a doddle to get out of trouble.

    I hope you can provide some solution.

    Thank you very much for your work and time

    Best regards

    Carlos

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @wampirius

    Thank you for letting us know about the issue.

    It’s added in the “Urgent” task list and it will be tested today and an update should also be released today. We might have some questions in case we are unable to replicate the issue.

    Plugin Author WPKube

    (@wpkube)

    Hi @wampirius

    Version 2.1.6 is released.

    Can you please update and test if you’re still getting the issue?

    We were unable to replicate the problem on our end but the modification that was made should fix the problem.

    Thread Starter wampirius

    (@wampirius)

    Hello

    Perfect! Sorry for not being able to reply earlier. I have updated the plugin to this new version and after several tests the error has no longer occurred. Really thank you very much!

    The conditions in which the error appeared were a bit peculiar: I selected several entries, hit bulk edit and reassigned several categories and put them in draft mode, all at once. Before the error came out and after the update it works fine.

    Again I reiterate my thanks for the time, interest, speed and effectiveness.
    Best regards

    Carlos

    Plugin Author WPKube

    (@wpkube)

    Hi Carlos,

    You’re welcome, happy to hear the issue is resolved. And thank you for the rating.

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