Invalid plugin installation directory, Google Analytics [closed]

If you rename the plugins folder googleanalytics into something else, e.g. OLDgoogleanalytics then refresh your website, the error is gone. Now you can access your backend plugins page (optional: rename the folder OLDgoogleanalytics back to googleanalytics) and you can see that trying to enable the Google Analytics plugin gives the error you mentioned. I temporarily … Read more

hypanis.ru wordpress vulnerabilty [closed]

I would more suspect a code injection via a plugin’s vulnerability; there have been a few of those lately. I don’t think it is a virus; just someone that exploited an unpatched vulnerability. You don’t specify whether the site has been updated (WP, plugins, themes) or the PHP version; this would be useful information. To … Read more

Need help decrypting error and warning messages

The Health Check plugin is triggering the first error. Is this when you’re running 2.7? get_transient() was only introduced in 2.8, which would explain it’s absence. The second failure is merely a failed HTTP request. This can happen every now and then (mainly due to timeouts). It shouldn’t interrupt the normal functioning of WordPress (the … Read more

Can’t access site after plugin activation

You’re getting the error because the Facebook and All In One Event Calendar plugins are both declaring the fb_admin_dialog() function, but PHP only allows a function to be declared once. To fix the immediate problem, log in to your server with S/FTP and rename the wp-content/plugins/all-in-one-event-calendar directory to something like all-in-one-event-calendar-temp; that will deactivate it … Read more

PHP Fatal Error – $wpdb a non-object?

“the errors (…) don’t show a stack trace” – they would if you were using xdebug. It means $wpdb is not loaded yet, not loaded properly, or gone: If you added code that calls it to your wp-config file or something to that order, remove it. If you’ve a db.php file in wp-content, it’s probably … Read more

Using $this from child class inside shortcode function

Your issue is in the callable object you add: array( __CLASS__, “build_shortcode”) This translates to: array( “WC_Product_Categories”, “build_shortcode”) Which is equivalent to: WC_Product_Categories::build_shortcode(); But build_shortcode is not a static function/method, and static functions/methods do not have a $this object, because there is no object associated. What you actually want is: array( $this, ‘build_shortcode’ ) Which … Read more

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