Having an HTTP error 500 after migrating a website

The error almost answers your question. Rename the folder for the plugin inlinks and the site should be restored. You may have to clear your browser’s cache. Once that is done you can work out the PHP error which is likely the result of using PHP versions on your dev and live server that are … Read more

Fetching wpdb data from a php file seems to break?

Initial thoughts are that it depends where your load_marque.php file is located. I assume within a theme or plugin. If so, what happens when the file is called directly. If there are some errors, these will be shown on the page. Based on the on here https://codex.wordpress.org/Class_Reference/wpdb your query your query may need to be … Read more

wp_insert_post() get Fatal Error from Plugin

So If I understand correctly you are creating a custom import plugin to wordpress outside the normal wordpress scope. Therefore you don’t have access to the functions inside .pluggable.php like is_user_logged_in you can redefine them in your plugin or you can just use require_once( ABSPATH . “wp-includes/pluggable.php” ); You will also not be able to … Read more