Errorlog Notices in conjunction with Awesome Support


if Affiliate Enterprise is active together with Awesome Support ( ), there are some notices inside the error-log that points to a wrong usage for enqueuing scripts.

It seems to point to: /affiliates-enterprise/lib/ext/wordpress/class-affiliates-graph-renderer-wordpress.php :2

Please note: it does not happen when one of this two plugins is disabled. It just happen, if both are active.

Do you have an idea how this can be fixed?

Here are the notices from Mamp, but it also happen on our live environment..


[01-Oct-2016 19:20:39 UTC] PHP Notice: wp_script_is wurde fehlerhaft aufgerufen. Skripte und Styles sollten nicht vor den Hooks wp_enqueue_scripts, admin_enqueue_scripts oder login_enqueue_scripts registriert oder eingebunden werden. Weitere Informationen: Debugging in WordPress (engl.) (Diese Meldung wurde in Version 3.3.0 hinzugefügt.) in /Applications/MAMP/htdocs/ on line 3996
[01-Oct-2016 19:20:39 UTC] PHP Stack trace:
[01-Oct-2016 19:20:39 UTC] PHP 1. {main}() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 2. require_once() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 3. require_once() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 4. require_once() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 5. require_once() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 6. do_action() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 7. WPAS_Titan->load_titan_framework() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 8. wpas_get_settings() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 9. apply_filters() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 10. wpas_core_settings_general() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 11. wpas_list_pages() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 12. WP_Query->__construct() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 13. WP_Query->query() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 14. WP_Query->get_posts() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 15. apply_filters_ref_array() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 16. Affiliates_Graph_Renderer_WordPress::the_posts() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 17. wp_script_is() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 18. _wp_scripts_maybe_doing_it_wrong() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 19. _doing_it_wrong() /Applications/MAMP/htdocs/
[01-Oct-2016 19:20:39 UTC] PHP 20. trigger_error() /Applications/MAMP/htdocs/

One Response to Errorlog Notices in conjunction with Awesome Support

  1. antonio October 3, 2016 at 8:06 am #

    Hi Bruno,
    It seems a conflict with the Awesome Support plugin that change the hooks order.
    If you add this code in your functions.php theme file, it should solve the problem:
    remove_filter( 'the_posts', array( 'Affiliates_Graph_Renderer_WordPress', 'the_posts' ) );
    add_action( 'wp_enqueue_scripts', 'my_wp_enqueue_scripts' );
    function my_wp_enqueue_scripts () {
    if ( !wp_script_is( 'jquery' ) ) {
    wp_enqueue_script( 'jquery' );

    Kind Regards,
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account