WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Column Widgets
[resolved] Missing argument 1 for ResponsiveColumnWidgets() (4 posts)

  1. 1timothy412
    Member
    Posted 11 months ago #

    I just transferred a WP site that I am building to the localhost of my new computer. Everything was working fine on my old computer, but now I am receiving this warning message:

    Warning: Missing argument 1 for ResponsiveColumnWidgets(), called in C:\xampp\htdocs\j--------i\wordpress\wp-content\themes\blankslate\footer.php on line 5 and defined in C:\xampp\htdocs\j--------i\wordpress\wp-content\plugins\responsive-column-widgets\responsive-column-widgets.php on line 137

    Here's footer.php line 5:
    <div id="footer-widgets"><?php ResponsiveColumnWidgets(); ?></div>

    And here's responsive-column-widgets.php line 137:
    function ResponsiveColumnWidgets( $arrParams ) {

    I know very little of PHP so I would really appreciate help. Thanks.

    http://wordpress.org/extend/plugins/responsive-column-widgets/

  2. miunosoft
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    You may try changing

    <div id="footer-widgets"><?php ResponsiveColumnWidgets(); ?></div>

    to

    <div id="footer-widgets"><?php ResponsiveColumnWidgets( array() ); ?></div>

  3. 1timothy412
    Member
    Posted 11 months ago #

    Your solution worked perfectly. Thank you for your timely response.

  4. miunosoft
    Member
    Plugin Author

    Posted 11 months ago #

    Glad to hear it's working.

    As of v1.1.4.1, you can use the function without passing an empty array like you did in the initial post.

Reply

You must log in to post.

About this Plugin

About this Topic