Plugins try to install in old location [closed]

In wp-config.php under the different salts there was a line, which I missed because it was directly under the different salts. define(‘WP_TEMP_DIR’, ‘/home/oldserver/domains/olddomain.be/public_html/website/wp-content/uploads’); Obviously that needed to be changed to the new server path as well.

wp theme.. Could not create directory

If you can log into your host with SSH or FTP, it’s an easy fix. Like the comments said before, check your permissions for the WordPress directory. For example, if you check the hosting directory with ls -al (typically /var/www, as on DigitalOcean), they should look something like this: drwxrwxr-x 6 www-data www-data 4096 Nov … Read more

CMB2 installation – cannot get it to work

Step#1: Using git clone the latest CMB2 resources to your working project. Step#2: Rename the CMB2-master (or anything else) folder to cmb. Step#3: In your project’s functions.php simply use the following code: if( !class_exists(“CMB2″) ){ require_once( dirname(__FILE__).”/libs/cmb/init.php” ); } (I put all my external libraries to /themes/my-theme/libs/ so I called it so) Step#4: You can … Read more

How to download WordPress 4.2.0

Perhaps it’s auto-update (since 4.2.3 is a security one). Try disabling the auto updates prior to WP installation via wp-config.php. Here is an article on that. Follow the “Famous 5-Minute Install” but rename manually the wp-config.php file and disable the auto updates first before proceeding installing the WP.

How does WordPress process plugin installations?

OK, so I think I got everything that is needed. So yes, you could work with a combination of: plugins_api install_plugin_install_status install from an instance of Plugin_Upgrader This may seem elaborate but you can actually see from the WP-CLI project that it is quite straight-forward. Of course, you can just install that excellent plugin and … Read more

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