WordPress.org

Ready to get started?Download WordPress

Forums

WP Socializer
Strict errors (4 posts)

  1. djeyewater
    Member
    Posted 2 years ago #

    Hi

    I got a few errors when using this plugin, here are the errors and the fixes: http://pastebin.com/ewaX6pKj

    Dave

    http://wordpress.org/extend/plugins/wp-socializer/

  2. vaakash
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the report. I'll soon update it in the plugin.

  3. djeyewater
    Member
    Posted 1 year ago #

    I've just updated to the latest version, and I'm getting a load of new errors now: http://pastebin.com/SJbtdkxw

    When you access the index of an array or access a variable, you must be sure that the array index / variable has been defined. If it has not been defined, then PHP will issue a warning.

    If you're not sure whether a variable or array index will be defined, it is just a matter of using isset or !empty to make sure the array index / variable exists before you try to access it. (This is what I've done in the suggested fixes).

    Cheers

    Dave

  4. djeyewater
    Member
    Posted 1 year ago #

    I also had a few HTML validation errors due to URLs containing spaces. This can be fixed by using the url-encoded title attributes etc. and using rawurlencode instead of urlencode:
    http://pastebin.com/Dax7CNNc

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic