Hi, first your plugin is very helpful but we discoverd an error while using it:
“Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the convert-a-link handle.?“
Is there any chance that this problem – which is likely to occur with other users as well – will be resolved in the short term?
]]>Today i′ve noticed that every link to eventim events landed on
https://www.eventim.de/?affiliate=ZEE&utm_campaign=351173&utm_medium=affiliate&utm_source=awin
if i switch off the plugin the linking is correct, but of course without the awin publisher master tag.
Tested with different browsers with latest wp version.
so far the links have been fine in the last few years
]]>Hi,
Where is :
Step 1: Turn on a plugin inside of your Publisher MasterTag Settings
Under “Toolbox” > “Links & Tools”
Many Thanks
]]>Hi.
After our latest relaunch in the middle of december the tool seems to have a conflict with our new setup. From this time there are no clicks registered at Awin any more.
As in Your Wiki described we did all the tests – got green light for the right setup and functionality.
As a common way for affiliate sites we′re cloaking links from our partner and also every Woo product – as You can see here pretty good : https://faunt.de/afb-social-green-it
This setup is working good for every other network we use. Could it be a problem for ‘Convert-a-Link’?
Hope to get some response here soon – as we are losing clicks / revenues every day.
Thx & all the best for 2021 / Sascha
]]>Hi
Thank you for creating this plugin; it looks like it will be a great way for sites to hook their AWIN site codes in easily ??
I’ve just activated this plugin on a new site (current stable version of WordPress 5.6); and receive the following Notice level error from PHP:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the convert-a-link handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wordpress/wp-includes/functions.php on line 5229
…while the script still appears in the source code, and I can see the AWIN
variable being generated; it’s clagging up the debugging logs.
The issue appears to be a result of calling wp_enqueue_scripts
procedurally, outside of a hooked function in plugins/convert-a-link/convert-a-link.php
line 29
; and could be resolved by changing:
$publisherId = get_option('cal_publisherId');
wp_enqueue_script('convert-a-link', 'https://www.dwin2.com/pub.'. $publisherId .'.min.js', array(), false, true);
to
function convert_a_link_scripts() {
$publisherId = get_option('cal_publisherId');
wp_enqueue_script('convert-a-link', 'https://www.dwin2.com/pub.'. $publisherId .'.min.js', array(), false, true);
}
add_action('wp_enqueue_scripts','convert_a_link_scripts');
Thanks in advance ??
]]>Hi,
Is this supported? Does the plugin work? It doesn’t seem to do anything?
If you could let people know that would be great!!
]]>Hello,
I installed your plugin on my site https://discounter-check.com/ and I have 3 Questions.
1) What happens with links on my page that are already AWIN affiliate links? Does the plugin cause any trouble here?
2) What happens with Affiliate Links from other Partner Programs like Amazon or Tradedoubler for example. Does your plugin cause any trouble here?
3)Did I understood it right, that your plugin checks upfront which links on my site are pointing to shops with active AWIN partnership and only manipulate these links?
best regards,
Tobias
This triggers the following error:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/website/public_html/wp-includes/functions.php on line 4204
It worked OK prior to the WordPress upgrade
]]>I’m at my wits end with this.
I have this plug-in installed on several sites with no problems but on one I get this.
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information.
This only occurs when I activate convert-a-link.
This site has exactly the same set up as a couple of others. I have deactivated all the plug-ins etc… and activated convert-a-link on its own. the error message appears.
I’ve uninstalled and reinstalled it, I’ve reinstalled WordPress. No joy.
Has anyone else had this issue
]]>Hi, this plugin does not work, my links are converted but it ads & instead of ? in url, so it give me broken links
]]>When I load and activate the plugin I get the following notice:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/albiukv/public_html/wp-includes/functions.php on line 3622
I am using Multisite and I have got debug to true.
]]>