Betaflight LED_STRIP Funktion fehlt? Firmware selbst kompilieren!3 Minuten Lesezeit

Nach dem Update von meinem FuriBee x140 mit OMNIBUS F3 auf Betaflight 3.5.3 konnte ich meine LED nicht mehr konfigurieren. Im Tab “Konfiguration” ließ sich das ganze aktivieren – doch nach dem Speichern war es wieder aus. Komisch!

Nach etwas Recherche hatte ich schon eine Vermutung, welche mir @Trickk.Fpv bestätigte. Betaflight hat den Support auf einigen FC eingestellt, um Platz für neue Funktionen zu schaffen.

Also blieben mir zwei Möglichkeiten:

Also auf an das Kompilieren der Firmware 🙂

1. Docker für Windows

Die offizielle Anleitung von Microsoft:
https://docs.docker.com/docker-for-windows/install/

Nachdem ihr Docker installiert habt, müsst ihr noch eine Freigabe in Docker einrichten.

Docker Einstellungen öffnen

Da bei mir die Freigabe unter C nicht geklappt hat, habe ich kurzerhand einen leeren USB Stick genommen. Hier reicht sogar ein 1 GB Werbegeschenk 😉

Shared Drive anlegen

2. Betaflight Docker Image

Als nächstes öffnen wir PowerShell und laden uns das neuste Betaflight-Build Image. Dies kann je nach eurer Internet-Geschwindigkeit einige Minuten dauern.

docker pull betaflight/betaflight-build

3. Anpassung der Firmware

Zunächst muss die gewünschte Firmware Version heruntergeladen werden. Diese findet ihr auf https://github.com/betaflight/betaflight/branches/active
Ladet diese nun als .zip herunter oder komfortabel über den Git-Client und speichert das ganze auf eurem USB Stick.

Die gewünschte Betaflight Branche auf den USB Stick

Nun müssen die gewünschten Anpassungen für euren FC (in meinem Fall OMNIBUS) vorgenommen werden. Dazu modifizieren wir folgende Datei:

Datei für FC spezifische Anpassungen

Um die LED zu aktivieren, fügen wir einen doppelslash ( // ) vor den entsprechenden Eintrag:

//#undef USE_LED_STRIP

Da wir jetzt vermutlich zu viel Speicherplatz verwenden würden, müssen wir noch einige Funktionen abschalten, welche wir nicht brauchen. In meinem Fall ist das unter anderem der Transponder und die SD Karte:

//#define USE_TRANSPONDER
//#define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT
//#define USE_SDCARD
//#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

Wer weitere Infos benötigt, findet diese in der Betaflight Doku.

4. Firmware kompilieren und flashen

In der PowerShell genügt nun ein Befehl um die eigene Firmware zu kompilieren. Hier müsst ihr nur OMNIBUS mit eurem Flightcontroller ersetzen.

docker run -e "PLATFORM=OMNIBUS" --rm -it -v d:/betaflight:/opt/betaflight betaflight/betaflight-build

Je nach Leistung eures PC sollte nach wenigen Sekunden/Minuten eine ähnliche Ausgabe erfolgen:

Firmware erfolgreich kompiliert

Wichtig ist hier die letzte Spalte. Sollte hier etwas über 100% sein, habt ihr ein Problem und die Firmware wird nicht funktionieren. Ihr müsst also auf weitere andere Features verzichten und diesen Schritt wiederholen.

Zuletzt findet ihr im Ordner “obj” eure selbst kompilierte Datei.

Eigene Betaflight Firmware

Diese könnt ihr nun wie gewohnt über Betaflight auf euren Copter brennen.

  • Flightcontroller wählen
  • Für euch passende Einstellungen treffen
  • Firmware laden [lokal] -> Hier unsere frisch kompilierte Firmware Datei wählen
  • Firmware flashen
Flashen der eigenen Firmware mit Betaflight

1 Antwort

  1. keo nha cai sagt:

    Hello colleagues, its wonderful paragraph on the topic of cultureand fully explained, keep it
    up all the time.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

  Globals Profiler (901.45 ms) SQL (155 queries in 48.18 ms) Errors (21, 21!) Toggle Close
$_GET = array (
);

$_POST = array (
);

$_COOKIE = array (
);

$_SESSION = array (
);

$_SERVER = array (
  'SERVER_SOFTWARE' => 'nginx/1.14.0',
  'REQUEST_URI' => '/betaflight-led_strip-funktion-fehlt-firmware-selbst-kompilieren/',
  'USER' => 'www-data',
  'HOME' => '/var/www',
  'HTTP_ORIGIN' => 'https://blog.tobias-nessel.de',
  'HTTP_REFERER' => 'https://blog.tobias-nessel.de/wp-comments-post.php',
  'HTTP_DNT' => '1',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
  'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36',
  'HTTP_CONNECTION' => 'Keep-Alive',
  'HTTP_HOST' => 'blog.tobias-nessel.de',
  'SCRIPT_FILENAME' => '/var/www/html/blog/index.php',
  'REDIRECT_STATUS' => '200',
  'SERVER_NAME' => 'blog.tobias-nessel.de',
  'SERVER_PORT' => '443',
  'SERVER_ADDR' => '37.120.168.112',
  'REMOTE_PORT' => '49427',
  'REMOTE_ADDR' => '78.36.201.117',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'HTTPS' => 'on',
  'REQUEST_SCHEME' => 'https',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'DOCUMENT_ROOT' => '/var/www/html/blog',
  'DOCUMENT_URI' => '/index.php',
  'SCRIPT_NAME' => '/index.php',
  'CONTENT_LENGTH' => '',
  'CONTENT_TYPE' => '',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => '',
  'FCGI_ROLE' => 'RESPONDER',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME_FLOAT' => 1555605597.406279,
  'REQUEST_TIME' => 1555605597,
);

Profiler Initiaded 0.0000 ms 2962 kB
Profiler Noise 0.0072 ms 2962 kB
I AM: wp-login-notification/wp-login-notification.php 6.0642 ms 3260 kB
Profiler Stopped 901.4461 ms 17669 kB
1.2479 [ms]
SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes';
0.4170 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'uninstall_plugins' LIMIT 1;
0.2019 [ms]
SELECT is_writeable FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.1891 [ms]
SELECT size FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.2561 [ms]
SELECT size_get FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.1650 [ms]
SELECT get_option FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.1290 [ms]
SELECT cache_time FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.2439 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheCDN' LIMIT 1;
0.1590 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'WpFastestCacheExclude' LIMIT 1;
0.6211 [ms]
SELECT wp_users.user_login FROM wp_users INNER JOIN wp_usermeta ON ( wp_users.ID = wp_usermeta.user_id ) WHERE 1=1 AND ( 
  ( 
    ( wp_usermeta.meta_key = 'wp_capabilities' AND wp_usermeta.meta_value LIKE '%\"administrator\"%' )
  )
) ORDER BY user_login ASC ;
0.5360 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1860 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'hu_contx_update_june_2018_status' LIMIT 1;
0.2029 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2060 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_czr_gfonts_nov_2018' LIMIT 1;
0.9592 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_czr_gfonts_nov_2018' LIMIT 1;
0.4489 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'tc_font_customizer_plug' LIMIT 1;
0.1829 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'tc_pro_wfc_customs_hueman-pro' LIMIT 1;
0.2351 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2100 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_started_using_hueman_pro' LIMIT 1;
0.2079 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_started_using_hueman_pro' LIMIT 1;
0.2921 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_ctx_updated_filtrable_candidates_collection' LIMIT 1;
0.1910 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_ctx_updated_filtrable_candidates_collection' LIMIT 1;
0.1819 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'skope-post-id' LIMIT 1;
0.1779 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'contx' LIMIT 1;
0.2010 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.7310 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') ORDER BY t.name
ASC ;
0.2508 [ms]
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (1,3,4,5) ORDER BY meta_id ASC;
0.2811 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.3901 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'can_compress_scripts' LIMIT 1;
0.4089 [ms]
SELECT  COUNT(*) FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') AND tt.count > 0  ;
0.2351 [ms]
SELECT  COUNT(*) FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('post_tag') AND tt.count > 0  ;
0.1991 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'pc_infinite_scroll' LIMIT 1;
0.3560 [ms]

		SELECT ID, post_name, post_parent, post_type
		FROM wp_posts
		WHERE post_name IN ('betaflight-led_strip-funktion-fehlt-firmware-selbst-kompilieren')
		AND post_type IN ('page','attachment')
	;
0.4280 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.post_name = 'betaflight-led_strip-funktion-fehlt-firmware-selbst-kompilieren' AND
wp_posts.post_type = 'post'  ORDER BY wp_posts.post_date DESC ;
0.6678 [ms]
SELECT  t.*, tt.*, tr.object_id FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr
ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (108) ORDER BY t.name
ASC ;
0.2580 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (108) ORDER BY meta_id ASC;
0.1900 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1731 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1578 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2131 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1869 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1938 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1779 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1800 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1640 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1488 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1340 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1321 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1371 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1411 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1838 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1769 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1869 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1550 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1800 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1450 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1290 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1278 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1419 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1321 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1352 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1318 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1280 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1268 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1471 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1631 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.6139 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2329 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2151 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2019 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1960 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.3099 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2539 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2341 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1709 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1371 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1712 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1400 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1290 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1280 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1271 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1369 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1280 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2029 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2060 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2332 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1969 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.3810 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'ot_css_file_paths' LIMIT 1;
0.4082 [ms]
SELECT * FROM wp_users WHERE ID = '1' LIMIT 1;
0.3169 [ms]
SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC;
0.3171 [ms]
SELECT p.ID FROM wp_posts AS p  WHERE p.post_date < '2018-10-23 12:56:25' AND p.post_type = 'post'  AND p.post_status = 'publish' ORDER BY p.post_date
DESC LIMIT 1;
0.2029 [ms]
SELECT * FROM wp_posts WHERE ID = 51 LIMIT 1;
0.2570 [ms]
SELECT p.ID FROM wp_posts AS p  WHERE p.post_date > '2018-10-23 12:56:25' AND p.post_type = 'post'  AND p.post_status = 'publish' ORDER BY p.post_date
ASC LIMIT 1;
0.3090 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_wps_excluded_hostname_to_ip_cache' LIMIT 1;
0.1919 [ms]
SELECT autoload FROM wp_options WHERE option_name = '_transient_wps_excluded_hostname_to_ip_cache';
0.4370 [ms]
SHOW FULL COLUMNS FROM `wp_options`;
1.2090 [ms]
DELETE FROM `wp_options` WHERE `option_name` = '_transient_wps_excluded_hostname_to_ip_cache';
0.2210 [ms]
SELECT autoload FROM wp_options WHERE option_name = '_transient_timeout_wps_excluded_hostname_to_ip_cache';
2.2311 [ms]
DELETE FROM `wp_options` WHERE `option_name` = '_transient_timeout_wps_excluded_hostname_to_ip_cache';
0.1829 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_wps_excluded_hostname_to_ip_cache' LIMIT 1;
0.1500 [ms]
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_wps_excluded_hostname_to_ip_cache' LIMIT 1;
0.9120 [ms]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_timeout_wps_excluded_hostname_to_ip_cache', '1555605957',
'no') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`);
0.7229 [ms]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_wps_excluded_hostname_to_ip_cache', 'a:0:{}', 'no') ON
DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`);
0.2201 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2580 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2379 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2332 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2589 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2348 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2129 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2761 [ms]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = 2;
0.2429 [ms]
SELECT tr.object_id FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy
IN ('nav_menu') AND tt.term_id IN ('2') ORDER BY tr.object_id ASC;
0.4990 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (80,81,82) AND wp_posts.post_type = 'nav_menu_item' AND ((wp_posts.post_status =
'publish'))  ORDER BY wp_posts.menu_order ASC ;
0.4790 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (80,81,82) ORDER BY meta_id ASC;
0.5381 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') AND t.term_id IN (
3,4,5 ) AND tt.count > 0 ORDER BY t.name ASC ;
0.4101 [ms]
SELECT  t.term_id, tt.parent, tt.count, tt.taxonomy FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN
wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (108) ORDER BY t.name
ASC ;
0.2489 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2530 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1690 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2120 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1609 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1512 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.3989 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (80,81,82) AND wp_posts.post_type = 'nav_menu_item' AND ((wp_posts.post_status =
'publish'))  ORDER BY wp_posts.menu_order ASC ;
0.6840 [ms]
SELECT wp_posts.* FROM wp_posts WHERE ID IN (131,132,137,138,141,146,147,149);
1.1919 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (131,132,137,138,141,146,147,149) ORDER BY meta_id ASC;
1.2529 [ms]

		SELECT comment_approved, COUNT( * ) AS total
		FROM wp_comments
		WHERE comment_post_ID = 108
		GROUP BY comment_approved
	;
0.7780 [ms]
SELECT SQL_CALC_FOUND_ROWS wp_comments.comment_ID FROM wp_comments  WHERE ( comment_approved = '1' ) AND comment_post_ID = 108 AND comment_parent = 0 
ORDER BY wp_comments.comment_date_gmt ASC, wp_comments.comment_ID ASC ;
0.2520 [ms]
SELECT wp_comments.* FROM wp_comments WHERE comment_ID IN (3);
0.2482 [ms]
SELECT  wp_comments.comment_ID FROM wp_comments  WHERE ( comment_approved = '1' ) AND comment_post_ID = 108 AND comment_parent IN ( 3 )  ORDER BY
wp_comments.comment_date_gmt ASC, wp_comments.comment_ID ASC ;
0.4749 [ms]
SELECT cache_time FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.1550 [ms]
SELECT size FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.2029 [ms]
SELECT get_option FROM wp_harrys_gravatar_cache WHERE ID = 1;
0.8981 [ms]

		SELECT comment_approved, COUNT( * ) AS total
		FROM wp_comments
		WHERE comment_post_ID = 108
		GROUP BY comment_approved
	;
0.3171 [ms]
SELECT   wp_posts.ID FROM wp_posts  WHERE 1=1  AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish'))  ORDER BY wp_posts.post_date
DESC LIMIT 0, 5;
0.2351 [ms]
SELECT wp_posts.* FROM wp_posts WHERE ID IN (1);
0.6602 [ms]
SELECT  t.*, tt.*, tr.object_id FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr
ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (1) ORDER BY t.name ASC ;
0.2289 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (1) ORDER BY meta_id ASC;
0.5438 [ms]
SELECT  t.*, tt.*, tr.object_id FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr
ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (51) ORDER BY t.name ASC
;
0.2360 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (51) ORDER BY meta_id ASC;
0.3800 [ms]
SELECT  wp_comments.comment_ID FROM wp_comments JOIN wp_posts ON wp_posts.ID = wp_comments.comment_post_ID WHERE ( comment_approved = '1' ) AND 
wp_posts.post_status IN ('publish')  ORDER BY wp_comments.comment_date_gmt DESC LIMIT 0,5;
0.2069 [ms]
SELECT wp_comments.* FROM wp_comments WHERE comment_ID IN (2);
0.1881 [ms]
SELECT comment_id, meta_key, meta_value FROM wp_commentmeta WHERE comment_id IN (2) ORDER BY meta_id ASC;
0.3600 [ms]
SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('post_tag') AND tt.count > 0
ORDER BY tt.count DESC LIMIT 45;
0.2580 [ms]
SELECT term_id, meta_key, meta_value FROM wp_termmeta WHERE term_id IN (7,8,9,10) ORDER BY meta_id ASC;
0.2739 [ms]
SELECT * FROM wp_posts WHERE ID = 95 LIMIT 1;
0.2470 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (95) ORDER BY meta_id ASC;
0.2580 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1609 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.1750 [ms]
SELECT option_value FROM wp_options WHERE option_name = 'template' LIMIT 1;
0.2310 [ms]
SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE t.term_id = 6;
0.2820 [ms]
SELECT tr.object_id FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy
IN ('nav_menu') AND tt.term_id IN ('6') ORDER BY tr.object_id ASC;
0.2780 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (102,103) AND wp_posts.post_type = 'nav_menu_item' AND ((wp_posts.post_status =
'publish'))  ORDER BY wp_posts.menu_order ASC ;
0.3090 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (102,103) ORDER BY meta_id ASC;
0.4261 [ms]
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID IN (100,3) AND wp_posts.post_type = 'page' AND ((wp_posts.post_status = 'publish')) 
ORDER BY wp_posts.post_date DESC ;
0.2980 [ms]
SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (100,3) ORDER BY meta_id ASC;
Warning ftp_nlist() expects parameter 1 to be resource, null given on line 332 in file /var/www/html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php
Warning (3) ftp_pwd() expects parameter 1 to be resource, null given on line 200 in file /var/www/html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php
Warning ftp_chdir() expects parameter 1 to be resource, null given on line 355 in file /var/www/html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php
Warning ftp_fput() expects parameter 1 to be resource, null given on line 186 in file /var/www/html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php
Warning ftp_chmod() expects parameter 1 to be resource, null given on line 244 in file /var/www/html/blog/wp-admin/includes/class-wp-filesystem-ftpext.php
Warning fileperms(): stat failed for /var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7.png on line 1065 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning fileperms(): stat failed for /var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7_2x.png on line 1068 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning chmod(): No such file or directory on line 1077 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning chmod(): No such file or directory on line 1080 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning getimagesize(/var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7.png): failed to open stream: No such file or directory on line 1082 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagecreatefrompng(/var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7.png): failed to open stream: No such file or directory on line 1094 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagealphablending() expects parameter 1 to be resource, boolean given on line 1095 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagesavealpha() expects parameter 1 to be resource, boolean given on line 1096 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagepng() expects parameter 1 to be resource, boolean given on line 1097 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagedestroy() expects parameter 1 to be resource, boolean given on line 1098 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagecreatefrompng(/var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7.png): failed to open stream: No such file or directory on line 1099 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagealphablending() expects parameter 1 to be resource, boolean given on line 1100 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagesavealpha() expects parameter 1 to be resource, boolean given on line 1101 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagepng() expects parameter 1 to be resource, boolean given on line 1102 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning imagedestroy() expects parameter 1 to be resource, boolean given on line 1103 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php
Warning md5_file(/var/www/html/blog/wp-content/uploads/gravatar-cache/ad4377e8053c2352d38344a6acfad4a7.png): failed to open stream: No such file or directory on line 1105 in file /var/www/html/blog/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php