• Hello,

    I’d like to leverage the geospatial functions from MySQL and am using WP-GeoMeta for that. However, HyperDB doesn’t seem to pass the arguments to those specific spatial functions. I wonder if this is an easy fix to it?

    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Buffer_Point_M; expected 3, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Buffer_Point_Mi; expected 3, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.wp_buffer_point_real; expected 4, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Distance_Point_M; expected 2, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Distance_Point_Mi; expected 2, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.wp_distance_point_real; expected 3, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.wp_first_geom; expected 1, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Point_Bearing_Distance_To_Line; expected 4, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Point_Bearing_Distance_To_Line_M; expected 3, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.WP_Point_Bearing_Distance_To_Line_Mi; expected 3, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
    [02-Apr-2020 20:38:58 UTC] PHP Warning:  mysqli_query(): (42000/1318): Incorrect number of arguments for FUNCTION bv_main.wp_point_bearing_distance_coord_pair; expected 4, got 0 in /var/www/wordpress/wp-content/db.php on line 1230
  • The topic ‘HyperDB doesn’t understand queries from WP-GeoMeta’ is closed to new replies.