• Resolved yellowmultimedia

    (@yellowmultimedia)


    Hello,

    I really want to use your plugin, however it keeps giving me php warnings. It seems to work fine but I’m not sure what to do about the warnings.

    Warning: Missing argument 2 for wp_register_script(), called in /home/donsrvftp/donsrv.yellowmultimedia.com/wordpress/wp-content/plugins/bigcontact/BigContact.php on line 110 and defined in /home/donsrvftp/donsrv.yellowmultimedia.com/wordpress/wp-includes/functions.wp-scripts.php on line 52

    Warning: Missing argument 2 for wp_register_script(), called in /home/donsrvftp/donsrv.yellowmultimedia.com/wordpress/wp-content/plugins/bigcontact/BigContact.php on line 111 and defined in /home/donsrvftp/donsrv.yellowmultimedia.com/wordpress/wp-includes/functions.wp-scripts.php on line 52

    I hope you can help. Kinda disappointed.

    https://www.ads-software.com/extend/plugins/bigcontact/

Viewing 2 replies - 1 through 2 (of 2 total)
  • If the authors don’t get back to you (which happens sometimes) you can cedit the plugin code yourself. I’ve had to do this before to stop the warnings showing up. There’s not a lot of authors care about warnings like this because they are turned off in 99% of production sites. This doesn’t make it the right way to develop a plugin, just how it is.

    The lines that the errors are on are given to you in the warning messages.

    Missing argument 2 for wp_register_script(), called in /home/donsrvftp/donsrv.yellowmultimedia.com/wordpress/wp-content/plugins/bigcontact/BigContact.php on line 110

    So, if you need something quickly, look at line 110 of the file bigcontact/BigContact.php and there will be a call to the function wp_register_script(). by the warning message, they have forgotten to include the second argument for the function call, but there could be other issues. You’d have to look at it to see. ??

    Plugin Contributor arianKhosravi

    (@ariankhosravi)

    Thanks for posting here. We have fixed the bug along with some other issues in the new update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BigContact] Help php warnings’ is closed to new replies.