• Resolved aboedman

    (@aboedman)


    Hi, I have problems. the creative page not show. thats blank page
    this url page: https://www.domain.com/affiliate?page_id=1883&sub=creatives&action=detail&creativeId=1

    on error_log:

    [11-Oct-2015 17:53:57 UTC] PHP Fatal error:  Cannot redeclare formatType() (previously declared in /home/cpanelog/public_html/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php:4) in /home/cpanelog/public_html/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php on line 4
    [11-Oct-2015 17:53:57 UTC] PHP Stack trace:
    [11-Oct-2015 17:53:57 UTC] PHP   1. {main}() /home/cpanelog/public_html/index.php:0
    [11-Oct-2015 17:53:57 UTC] PHP   2. require() /home/cpanelog/public_html/index.php:17
    [11-Oct-2015 17:53:57 UTC] PHP   3. require_once() /home/cpanelog/public_html/wp-blog-header.php:16
    [11-Oct-2015 17:53:57 UTC] PHP   4. include() /home/cpanelog/public_html/wp-includes/template-loader.php:75
    [11-Oct-2015 17:53:57 UTC] PHP   5. get_header() /home/cpanelog/public_html/wp-content/themes/artificer/page.php:12
    [11-Oct-2015 17:53:57 UTC] PHP   6. locate_template() /home/cpanelog/public_html/wp-includes/general-template.php:45
    [11-Oct-2015 17:53:57 UTC] PHP   7. load_template() /home/cpanelog/public_html/wp-includes/template.php:514
    [11-Oct-2015 17:53:57 UTC] PHP   8. require_once() /home/cpanelog/public_html/wp-includes/template.php:555
    [11-Oct-2015 17:53:57 UTC] PHP   9. wp_head() /home/cpanelog/public_html/wp-content/themes/artificer/header.php:24
    [11-Oct-2015 17:53:57 UTC] PHP  10. do_action() /home/cpanelog/public_html/wp-includes/general-template.php:2270
    [11-Oct-2015 17:53:57 UTC] PHP  11. call_user_func_array:{/home/cpanelog/public_html/wp-includes/plugin.php:503}() /home/cpanelog/public_html/wp-includes/plugin.php:503
    [11-Oct-2015 17:53:57 UTC] PHP  12. All_in_One_SEO_Pack->wp_head() /home/cpanelog/public_html/wp-includes/plugin.php:503
    [11-Oct-2015 17:53:57 UTC] PHP  13. do_action() /home/cpanelog/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_class.php:1899
    [11-Oct-2015 17:53:57 UTC] PHP  14. call_user_func_array:{/home/cpanelog/public_html/wp-includes/plugin.php:503}() /home/cpanelog/public_html/wp-includes/plugin.php:503
    [11-Oct-2015 17:53:57 UTC] PHP  15. All_in_One_SEO_Pack_Opengraph->add_meta() /home/cpanelog/public_html/wp-includes/plugin.php:503
    [11-Oct-2015 17:53:57 UTC] PHP  16. do_shortcode() /home/cpanelog/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_opengraph.php:611
    [11-Oct-2015 17:53:57 UTC] PHP  17. preg_replace_callback() /home/cpanelog/public_html/wp-includes/shortcodes.php:210
    [11-Oct-2015 17:53:57 UTC] PHP  18. do_shortcode_tag() /home/cpanelog/public_html/wp-includes/shortcodes.php:210
    [11-Oct-2015 17:53:57 UTC] PHP  19. call_user_func:{/home/cpanelog/public_html/wp-includes/shortcodes.php:308}() /home/cpanelog/public_html/wp-includes/shortcodes.php:308
    [11-Oct-2015 17:53:57 UTC] PHP  20. WPAM_Pages_PublicPage->doShortcode() /home/cpanelog/public_html/wp-includes/shortcodes.php:308
    [11-Oct-2015 17:53:57 UTC] PHP  21. WPAM_Pages_PublicPage->process() /home/cpanelog/public_html/wp-content/plugins/affiliates-manager/source/Pages/PublicPage.php:93
    [11-Oct-2015 17:53:57 UTC] PHP  22. WPAM_Pages_TemplateResponse->render() /home/cpanelog/public_html/wp-content/plugins/affiliates-manager/source/Pages/PublicPage.php:68

    And if register member https://www.domain.com/affiliate/affiliate-register
    email is warning (red bold on email*) still on register page but that is registered. and email was sent.

    Please tell me how to fix it.
    Thanks

    https://www.ads-software.com/plugins/affiliates-manager/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reporting this. The plugin developers will investigate further.

    Regards

    Thread Starter aboedman

    (@aboedman)

    Hai, my site is https://www.aostore.net/
    my affiliate page on https://www.aostore.net/affiliate

    and in error log now is

    [17-Oct-2015 15:45:30 UTC] PHP Fatal error:  Cannot redeclare formatType() (previously declared in /home/aostoren/public_html/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php:4) in /home/aostoren/public_html/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php on line 12

    can you help me

    Thanks before

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reporting the error message. I have reported this to the plugin developers.

    Hi

    I have exactly the same problem: the creative details don’t show up.

    (However, I can’t manage to get the log file working, i.e. it doesn’t log anything. Although I checked the corresponding checkbox in the settings.)

    you can create an affiliate account yourself and test it:
    https://www.yogart.ch/affiliates

    Any ideas what to do now…?

    Same problem here. Page crashed with the log:

    Got error ‘PHP message: PHP Fatal error: Cannot redeclare formatType() (previously declared in …/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php:4) in …/wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php on line 4\n’, referer: https://mysite/affiliate-home/?sub=creatives

    I fixed it by wrapping the formatType with the if(..) {..} in
    wp-content/plugins/affiliates-manager/html/affiliate_creative_detail.php

    if (!function_exists('formatType')) {
    function formatType($type)
    {
            switch ($type)
            {
                    case 'image': return __( 'Image', 'affiliates-manager' );
                    case 'text': return __( 'Text Link', 'affiliates-manager' );
                    default: wp_die( __( 'unknown creative type.', 'affiliates-manager' ) );
            }
    }
    }

    Plugin Author affmngr

    (@affmngr)

    We have just released an update to fix this issue. Please update the plugin and see how it goes.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Creative not show’ is closed to new replies.