Tag Info

New answers tagged

1

So this turned out to be the problem: After running using WP_DEBUG on the live site it turned out $this was not defined in the following line: public function __construct(){ add_action('init', function(){ add_shortcode('bbit', array($this, 'shortcode_handler')); }); } shortcode_handler is a non-static function here, and this code was all ...


0

You'll need to make some modifications to wp-config.php. Add the following so WordPress picks up the domain automatically based on the environment: define( 'WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] ); define( 'WP_HOME', 'http://' . $_SERVER['SERVER_NAME'] ); Now we need to make WordPress a little more portable by having it determine which host to ...


1

Your issue likely lies somewhere within wp-config.php. You should not need to run any install if your tables already exist, the wp-admin/install.php is only used when no tables are detected with the settings in wp-config.php. Going through parameter by parameter, I'll give you some idea of what everything is. DB_NAME is the name of the database that ...



Top 50 recent answers are included