Does fixing PHP notices improves website performance?

It’s worth doing so, though performance isn’t always going to improve, notices are usually a sign of broken-ness or bad code. In the example you cited, there’s actually a mistake made and a potential security issue: $geolocation = esc_sql($_COOKIE[‘geolocation’]); the code assumes there’s cookies, and that a geolocation cookie is present it uses esc_sql which … Read more

wordpress extremely slow on NAS

I guess you already answered the question yourself. The other thing could be that your NAS has a slow harddrive (5.400 rpm) or that your connection is slow. Edit: Speed up with removing unwanted dashboard items… <?php /* Plugin Name: Dashboard-Widgets Removal Plugin Plugin URI: http://example.com Description: Disables admin UI dashboard widgets that you do … Read more

WordPress Site Speed (Maybe Server Issue)

It could be anything: A slow and un-optimized MySQL server A theme not suited for big databases A faulty plugin combination … You can make sure that it’s not a plugin or theme issue by disabling all plugins and using a built in theme (I like Twenty Twelve). What else you can do to find … Read more

Using functions repeatedly instead of variables

The difference is going to be pretty minimal, I’d expect. There is overhead to using the functions, which you could save by storing your output in a variable. (WordPress does a pretty good job at caching the queries though.) And the variable is going to be more convenient as it is probably fewer characters than … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)