After update feald group dissapired :(
-
I have updated to newest version of ACF but i have a problem i dont see my group field anymore i did update my database.
Can i somehow pull back this info i did a copy before update but when i want to import it i get error.
if(function_exists("register_field_group")) { register_field_group(array ( 'id' => 'acf_dodaj-porzucone-auto', 'title' => 'Dodaj porzucone auto', 'fields' => array ( array ( 'key' => 'field_5ae44d6c420c6', 'label' => 'Tytu? wpisu', 'name' => 'tytul_wpisu', 'type' => 'text', 'instructions' => 'np. Porzucony samochód Poznań', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => 32, ), array ( 'key' => 'field_5ae44ddd420c7', 'label' => 'Miejsce porzucenia', 'name' => 'miejsce_porzucenia', 'type' => 'google_map', 'required' => 1, 'center_lat' => '52.2296756', 'center_lng' => '21.012228700000037', 'zoom' => 12, 'height' => 400, ), array ( 'key' => 'field_5ae44e28420c8', 'label' => 'Marka', 'name' => 'marka', 'type' => 'text', 'instructions' => 'np: Seat Ibiza FR', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_5ae44e66420c9', 'label' => 'Kolor', 'name' => 'kolor', 'type' => 'text', 'instructions' => 'np: Czarny', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_5ae44ea4420ca', 'label' => 'Tablice rejestracyjne', 'name' => 'tablice_rejestracyjne', 'type' => 'text', 'instructions' => 'np: EPO 6825 lub brak', 'default_value' => 'brak', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_5ae44f13420cb', 'label' => 'Zdj?cie 1', 'name' => 'zdjecie1_porzucenia', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'required' => 1, 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_5ae44f4d420cc', 'label' => 'Zdj?cie 2', 'name' => 'zdjecie2', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_5ae44f92420cd', 'label' => 'O?wiadczenie', 'name' => 'oswiadczenie', 'type' => 'checkbox', 'instructions' => 'Art. 190 Kodeksu karnego (dalej K.k.), który stanowi:<br/><br/> § 1. Kto przez uporczywe n?kanie innej osoby lub osoby jej najbli?szej wzbudza u niej uzasadnione okoliczno?ciami poczucie zagro?enia lub istonie narusza jej prywatno??, podlega karze pozbawienia wolno?ci do lat 3.<br/><br/> § 2. Tej samej karze podlega, kto, podszywaj?c si? pod inna osob?, wykorzystuje jej wizerunek lub inne jej dane osobowe w celu wyrz?dzenia jej szkody maj?tkowej lub osobistej.<br/><br/> § 3. Je?eli nast?pstwem czynu okre?lonego w § 1 lub 2 jest targni?cie si? pokrzywdzonego na w?asne ?ycie, sprawca podlega karze pozbawienia wolno?ci od roku do lat 10.<br/><br/> § 4. ?ciganie przest?pstwa okre?lonego w § 1 lub 2 nast?puje na wniosek pokrzywdzonego.', 'required' => 1, 'choices' => array ( 'Akceptuje' => 'O?wiadczam, ?e zapozna?em/am si? i akceptuj? w/w Art. 190 Kodeksu karnego.', ), 'default_value' => '', 'layout' => 'vertical', ), ), 'location' => array ( array ( array ( 'param' => 'post_category', 'operator' => '==', 'value' => '60', 'order_no' => 0, 'group_no' => 0, ), ), ), 'options' => array ( 'position' => 'acf_after_title', 'layout' => 'default', 'hide_on_screen' => array ( 0 => 'the_content', 1 => 'excerpt', 2 => 'custom_fields', 3 => 'revisions', 4 => 'slug', 5 => 'format', 6 => 'tags', 7 => 'send-trackbacks', ), ), 'menu_order' => 1, )); register_field_group(array ( 'id' => 'acf_dodaj-skradzione-auto', 'title' => 'Dodaj skradzione auto', 'fields' => array ( array ( 'key' => 'field_52e8ce62f6982', 'label' => 'Tytu? wpisu', 'name' => 'tytul_wpisu', 'type' => 'text', 'instructions' => 'np: AUDI A4 S-LINE KOMBI', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'html', 'maxlength' => 32, ), array ( 'key' => 'field_52e6f35efd9ee', 'label' => 'Data zdarzenia', 'name' => 'data_zdarzenia', 'type' => 'date_picker', 'required' => 1, 'date_format' => 'yymmdd', 'display_format' => 'dd/mm/yy', 'first_day' => 1, ), array ( 'key' => 'field_52e6f383fd9ef', 'label' => 'Godzina zdarzenia', 'name' => 'godzina_zdarzenia', 'type' => 'text', 'instructions' => 'np: 18:30', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52efadf4be5f2', 'label' => 'Miejsce kradzie?y', 'name' => 'miejsce_kradziezy', 'type' => 'google_map', 'required' => 1, 'center_lat' => '52.2296756', 'center_lng' => '21.012228700000037', 'zoom' => 12, 'height' => '', ), array ( 'key' => 'field_52e6f3a9fd9f0', 'label' => 'Marka', 'name' => 'marka', 'type' => 'text', 'instructions' => 'np: Seat Ibiza FR', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e6f3b2fd9f1', 'label' => 'Rok produkcji', 'name' => 'rok_produkcji', 'type' => 'text', 'instructions' => 'np: 2006', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e6f3cefd9f2', 'label' => 'Kolor', 'name' => 'kolor', 'type' => 'text', 'instructions' => 'np: Czarny', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e6f3e2fd9f3', 'label' => 'Tablice rejestracyjne', 'name' => 'tablice_rejestracyjne', 'type' => 'text', 'instructions' => 'np: EPO 6825', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e6f401fd9f4', 'label' => 'Numer VIN', 'name' => 'numer_vin', 'type' => 'text', 'instructions' => 'np: W0L0XCF0814000002 <br/> <font style="color:red;font-weight: bold;">numer VIN jest istotnym elementem branym pod uwag? w poszukiwaniu auta, nie jest ?atwy do sfa?szowania dlatego proponujemy dodawa? go w og?oszeniu.</font>', 'required' => 1, 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e6f409fd9f5', 'label' => 'Cechy charakterystyczne', 'name' => 'cechy_charakterystyczne', 'type' => 'text', 'instructions' => 'np: Rysy na masce, uszkodzone lusterko...', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_52e8cea25cadd', 'label' => 'Zdj?cie 1', 'name' => 'zdjecie1', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Je?li przesy?asz zdj?cia pogl?dowe i nie s? one Twoj? w?asno?ci? prosz? napisa? o tym w \'Cechy charakterystyczne\' i zakry? tablice rejestracyjne na zdj?ciu.</font><br/> <font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'required' => 1, 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_52e8cece5cadf', 'label' => 'Zdj?cie 2', 'name' => 'zdjecie2', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_52e8cede5cae0', 'label' => 'Zdj?cie 3', 'name' => 'zdjecie3', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_52e8ceec5cae1', 'label' => 'Zdj?cie 4', 'name' => 'zdjecie4', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_52e8cef35cae2', 'label' => 'Zdj?cie 5', 'name' => 'zdjecie5', 'type' => 'image', 'instructions' => '<font style="color:red;font-weight: bold;">Dodaj nie wi?cej ni? jedno zdj?cie w tym polu</font>', 'save_format' => 'object', 'preview_size' => 'large', 'library' => 'uploadedTo', ), array ( 'key' => 'field_5a1bfad7f368c', 'label' => 'Warning', 'name' => '', 'type' => 'message', 'instructions' => 'Art. 190 Kodeksu karnego (dalej K.k.), który stanowi:<br/><br/> § 1. Kto przez uporczywe n?kanie innej osoby lub osoby jej najbli?szej wzbudza u niej uzasadnione okoliczno?ciami poczucie zagro?enia lub istonie narusza jej prywatno??, podlega karze pozbawienia wolno?ci do lat 3.<br/><br/> § 2. Tej samej karze podlega, kto, podszywaj?c si? pod inna osob?, wykorzystuje jej wizerunek lub inne jej dane osobowe w celu wyrz?dzenia jej szkody maj?tkowej lub osobistej.<br/><br/> § 3. Je?eli nast?pstwem czynu okre?lonego w § 1 lub 2 jest targni?cie si? pokrzywdzonego na w?asne ?ycie, sprawca podlega karze pozbawienia wolno?ci od roku do lat 10.<br/><br/> § 4. ?ciganie przest?pstwa okre?lonego w § 1 lub 2 nast?puje na wniosek pokrzywdzonego.', 'message' => '<font style="color:red;">Pami?taj aby nie podawa? numeru telefonu jak i kontaktu do siebie. Uwa?aj te? na strony internetowe gdzie pobierana jest op?ata za dodanie og?oszenia. Jest to zwyk?e oszustwo i dodawanie danych kontaktowych na tego typu strony nara?a Ci? na kontakt z innymi przest?pcami którzy wy?udzaj? pieni?dze za informacj? lokalizacji skradzionego przedmiotu.</font>', ), array ( 'key' => 'field_545654aab7287', 'label' => 'O?wiadczenie', 'name' => 'oswiadczenie', 'type' => 'checkbox', 'instructions' => 'Art. 190 Kodeksu karnego (dalej K.k.), który stanowi:<br/><br/> § 1. Kto przez uporczywe n?kanie innej osoby lub osoby jej najbli?szej wzbudza u niej uzasadnione okoliczno?ciami poczucie zagro?enia lub istonie narusza jej prywatno??, podlega karze pozbawienia wolno?ci do lat 3.<br/><br/> § 2. Tej samej karze podlega, kto, podszywaj?c si? pod inna osob?, wykorzystuje jej wizerunek lub inne jej dane osobowe w celu wyrz?dzenia jej szkody maj?tkowej lub osobistej.<br/><br/> § 3. Je?eli nast?pstwem czynu okre?lonego w § 1 lub 2 jest targni?cie si? pokrzywdzonego na w?asne ?ycie, sprawca podlega karze pozbawienia wolno?ci od roku do lat 10.<br/><br/> § 4. ?ciganie przest?pstwa okre?lonego w § 1 lub 2 nast?puje na wniosek pokrzywdzonego.', 'required' => 1, 'choices' => array ( 'Akceptuje' => 'O?wiadczam, ?e zapozna?em/am si? i akceptuj? w/w Art. 190 Kodeksu karnego.', ), 'default_value' => '', 'layout' => 'vertical', ), ), 'location' => array ( array ( array ( 'param' => 'post_category', 'operator' => '==', 'value' => '6', 'order_no' => 0, 'group_no' => 0, ), ), array ( array ( 'param' => 'post_category', 'operator' => '==', 'value' => '28', 'order_no' => 0, 'group_no' => 1, ), ), array ( array ( 'param' => 'post_category', 'operator' => '==', 'value' => '57', 'order_no' => 0, 'group_no' => 2, ), ), ), 'options' => array ( 'position' => 'acf_after_title', 'layout' => 'default', 'hide_on_screen' => array ( 0 => 'the_content', 1 => 'excerpt', 2 => 'custom_fields', 3 => 'revisions', 4 => 'slug', 5 => 'format', 6 => 'tags', 7 => 'send-trackbacks', ), ), 'menu_order' => 1, )); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘After update feald group dissapired :(’ is closed to new replies.