Skip to content

Deprecated: Creation of dynamic property #9

@DenisLopatin

Description

@DenisLopatin

Error in setting a private property bindings.

Example:

use WPQueryBuilder\Query;

global $wpdb;

$qb = new Query($wpdb);

$res = $qb->select(['post_title'])->from('wp_posts')->where('ID', '=', 1)->get();

Output:

Deprecated: Creation of dynamic property WPQueryBuilder\CompositeWhereClause::$bindings is deprecated in /usr/share/nginx/html/wordpress/wp-content/my/WP-Query-Builder/src/CompositeWhereClause.php on line 27

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions