gettin activation error when i activate ad sharing plugin

gettin activation error when i activate ad sharing plugin

Deprecated: Assigning the return value of new by reference is deprecated in /home4/ardge25/public_html/wp-content/plugins/ad-sharing/ad-sharing.php on line 44

Strict Standards: Redefining already defined constructor for class Ad_Sharing in /home4/ardge25/public_html/wp-content/plugins/ad-sharing/ad-sharing.php on line 97

Deprecated: Assigning the return value of new by reference is deprecated in /home4/ardge25/public_html/wp-content/plugins/ad-sharing/ad-sharing.php on line 685

The plugin generated 588 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

any suggestion of fixes please?

  • Jack Kitterhing
    • Code Norris

    Hi there @adam,

    Hope you're well today and thanks for your questions.

    The notices are nothing to worry about and the plugin should still work correctly and be able to be activated :slight_smile:

    The strict standards notice is PHP related, which version of PHP are you running?

    But that shouldn't output unless you have WP_DEBUG set to true in your wp-config.php please advise :slight_smile:

    Thanks!

    Kind Regards
    Jack.

  • adam
    • Site Builder, Child of Zeus

    thanks for your response im unsure of the php version maybe hostgator updated it recently ive set debug to true but gave more error warning messages

    Strict Standards: Redefining already defined constructor for class Login_Redirect in /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php on line 45

    Deprecated: Assigning the return value of new by reference is deprecated in /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php on line 146

    Strict Standards: Redefining already defined constructor for class Logout_Redirect in /home4/ardge25/public_html/wp-content/plugins/logout-redirect/logout-redirect.php on line 44

    Deprecated: Assigning the return value of new by reference is deprecated in /home4/ardge25/public_html/wp-content/plugins/logout-redirect/logout-redirect.php on line 203

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php:45) in /home4/ardge25/public_html/wp-content/plugins/wpleadplus/index.php on line 4

    Warning: Cannot modify header information - headers already sent by (output started at /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php:45) in /home4/ardge25/public_html/wp-content/plugins/wpleadplus/popup.php on line 16

    Warning: Cannot modify header information - headers already sent by (output started at /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php:45) in /home4/ardge25/public_html/wp-includes/pluggable.php on line 896

    Warning: Cannot modify header information - headers already sent by (output started at /home4/ardge25/public_html/wp-content/plugins/login-redirect/login-redirect.php:45) in /home4/ardge25/public_html/wp-includes/pluggable.php on line 896

  • adam
    • Site Builder, Child of Zeus

    yea i wanted to place ads on all free sites then when upgraded ads wont show on pro site then i wanted to provide the option to activate the advertising plugin on upgraded sites so they can place there own ad codes

  • Jack Kitterhing
    • Code Norris

    Hi there @adam,

    Hope you're well today and thanks for the additional information.

    I'm afraid this setup wouldn't be possible currently, the best workaround would be to use the premium advertising module in pro sites for the advertising site wide in the admin, then use another advertising plugin and set it as a premium plugin in Pro Sites?

    Thanks!

    Kind Regards
    Jack.

  • adam
    • Site Builder, Child of Zeus

    its good thanks or even the advertising plugin within pro sites once a user upgrades and removes ads it also gives the option for them to add there own code so really to upgrade is also an incentive for them to activate there own ads and make more

    but thanks for your help

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.