• My theme function conflicted with the plugin. Found the issue and support confirmed right away.

    • This topic was modified 2 years, 8 months ago by Sunny.
    • This topic was modified 2 years, 8 months ago by Sunny.
    • This topic was modified 2 years, 8 months ago by Sunny.
    • This topic was modified 2 years, 8 months ago by Sunny.
    • This topic was modified 2 years, 8 months ago by Sunny.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shahjahan Jewel

    (@techjewel)

    Hello @frdmsun
    Not sure what happened to your case. Would you please share some more information like the error log or anything that may help us to identify the issue and fix?

    Also, Would you please let us know what PHP version are you using?

    Regards

    Thread Starter Sunny

    (@frdmsun)

    @techjewel Looks like we are both using the function dd() which is breaking wordpress. We both should have used a namespace or unique function name. I’ll update my theme and remove the function dd() and retest.

    Plugin Author Shahjahan Jewel

    (@techjewel)

    We use the dd function for mainly development time. By the way, we have used function_exists to check if it’s already declared or not.

    if (!function_exists('dd')) {
        function dd()
        {
            foreach (func_get_args() as $arg) {
                echo "<pre>";
                print_r($arg);
                echo "</pre>";
            }
            die();
        }
    }

    Maybe you can use the similar method for your function

    Happy to see that you found it ??

    Thread Starter Sunny

    (@frdmsun)

    Yes, our functions are almost identical. I did NOT test function_exists but I will now. btw ?????????? for the instant help. You guys rock!

    Plugin Author Shahjahan Jewel

    (@techjewel)

    My pleasure <3

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘So far so good. And great support!’ is closed to new replies.