Closed kyloknight closed 2 years ago
Describe the bug
File: seo-by-rank-math/includes/modules/schema/class-admin.php Line: 305
seo-by-rank-math/includes/modules/schema/class-admin.php
private function get_schema_types( $post_id ) { $schemas = DB::get_schemas( $post_id ); if ( empty( $schemas ) ) { return false; } $types = []; foreach ( $schemas as $schema ) { $types[] = Helper::sanitize_schema_title( $schema['@type'] ); } return implode( ', ', $types ); }
Conditional needed above when "$schema" returns false.
Desktop:
Hi @po8digital, could you please confirm if this error is happening with the latest version?
Thank you.
Closing it due to inactivity. Please reopen it if you still get an error.
Describe the bug
File:
seo-by-rank-math/includes/modules/schema/class-admin.php
Line: 305Conditional needed above when "$schema" returns false.
Desktop: