Support » Plugin: GEO my WordPress » [Plugin: GEO my WP] Getting array_chunk() Error on Search Results page.

  • Resolved kjmagic13

    (@kjmagic13)


    Warning: array_chunk() [function.array-chunk]: Size parameter expected to be greater than 0 in /home/content/63/9480763/html/hosting/byowner/wp-content/plugins/geo-my-wp/get-places.php on line 261

    When using the shortcode [wppl form=”1″ form_only=”y”] or the widget, this error is generated on the results page along with no results from an exact zipcode search (ie post has zip of 33544, searched for 33544). On a fresh install of WordPress (3.4.1).

    There are only three posts, all with addresses, lat & long assigned to them.

    http://wordpress.org/extend/plugins/geo-my-wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi kjmagic13,
    i believe that this issue as to do with the “per page” settings in the shortcode you created. Did you set it to 0? if so you must change it to a number greater than 0. check that and let me know it that solves the issue.

    note that even if the “per page” shows 5 when you go to edit it save the shortcode again and see if that works.

    That’s what it was. Thanks so much!

    Plugin Author Eyal Fitoussi

    (@ninjew)

    You are very welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: GEO my WP] Getting array_chunk() Error on Search Results page.’ is closed to new replies.