Forum Replies Created
- lukasParticipant1 year, 6 months ago in reply to: Activating options ending into solr http error 400 #31192
The search form html used on the page (by wpsolr pro).
lukasParticipant1 year, 7 months ago in reply to: Activating options ending into solr http error 400 #31186For debugging I had this template activated. Does the themes has to support sidebars or anything else? The output in Frontend:
<form action="" method="get" class="search-frm"> <input type="hidden" value="wdm_return_solr_rows" id="path_to_fold"> <input type="hidden" value="https://localhost:8081/wp-admin/" id="path_to_admin"> <input type="hidden" value="" id="search_opt"> <input type="hidden" value="0" id="paginate"> <input type="hidden" value="0" id="is_after_autocomplete_block_submit"> <div class="ui-widget"> <input type="hidden" id="ajax_nonce" value="32a71320c1"> <input type="text" placeholder="Search ...." value="" name="search" id="search_que" class="search-field sfl2" autocomplete="off"> <input type="submit" value="Search" id="searchsubmit" style="position:relative;width:auto"> <!-- Extra HTML --> <div style="clear:both"></div> </div> </form>
lukasParticipant1 year, 7 months ago in reply to: Activating options ending into solr http error 400 #31184It seems like that “Display “Did you mean?” in search results header ?” in 2.1 Presentation making problems.
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31181I’ve registered “location” taxonomy like this:
register_taxonomy( 'location', [ 'magazine' ], $args );
“magazine” is a taxonomy, too.lukasParticipant1 year, 7 months ago in reply to: Activating options ending into solr http error 400 #31180Yes without any it works
lukasParticipant1 year, 7 months ago in reply to: Activating options ending into solr http error 400 #31177Even when activated just one of them ends into this error.
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31176Both are taxonomies. For what reason I’ve registered the taxonomy “location” with the taxonomy “magazine” (register_taxonomy). That was not correct. Can you set this thread as closed?
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31174I found the problem. I’ve registered my taxonomy as a taxonomy for the taxonomy “location”. WordPress doesn’t check the taxonomy post type handlers again, so get_object_taxonomies matched. Thank you for your hint 😉
Its fixed, but the extra check in dashboard.php isn’t bad to keep the backend functional.lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31172No, I just have this taxonomy registered as above, no post type with this name.
lukasParticipant1 year, 7 months ago in reply to: Activating options ending into solr http error 400 #31171From a technical side I can, but I need these features.
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31166But the code should break at the first default post type “post”. Every object before hasn’t the property. So its a bit strange …
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31165Right, seems like that.
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31163Some of my taxonomies has “shared post types” they relate to one ore more post types.
lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31162I’m a little bit confused, because almost every entity doesn’t has the property has_attachments (post types) but just one taxonomy (the last one) triggers a fatal error. Here the configuration in my theme:
$args = [ 'hierarchical' => false, 'labels' => [ 'name' => _x( 'Magazin Ausgaben', 'taxonomy general name', 'r' ), 'singular_name' => _x( 'Magazin Ausgabe', 'taxonomy singular name', 'r' ), ], 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, 'rewrite' => [ 'with_front' => false, 'hierarchical' => false, ], ]; register_taxonomy( 'magazine', [ 'post' ], $args );
While debugging this taxonomy, the following variables has values:
$model_type_object => wpsolr\core\classes\models\taxonomy\WPSOLR_Model_Meta_Type_Taxonomy {#13554 â–¼ #label: "Magazin Ausgaben" #table_name: "term_taxonomy" #column_id: "term_id" #column_last_updated: null #indexing_sql: null #type: "magazine" }
$model_type_taxonomies => array:1 [â–¼ 0 => "location" ]
$model_type_fields => []
Is there anything not as expected?lukasParticipant1 year, 7 months ago in reply to: Bug: Admin Dashboard 2.2 Data, Call to undefined property breaks backend page #31160I debug a little bit further and come back with my taxonomy 😉