Keep getting this code reparted again and again?

It seems that the permalinks structure has an issue. Please follow below steps to fix it. Step 1: if possible, back up your WP installation folder. Step 2: Temporary disable all the plugins (important step) step 3: in the WordPress admin dashboard, go to Settings -> Permalinks step 4: remember or note down somewhere what … Read more

404 Not found error after update to WordPress 5.0

First I tried to disable all plugins and change theme to the default WordPress theme and error is showing yet. Then tried to install a new WordPress 5.0.1 and got 2 errors: theme.min-rtl.css:1 Failed to load resource: the server responded with a status of 404 (Not Found) style.min-rtl.css:1 Failed to load resource: the server responded … Read more

Unable to locate WordPress content directory

All files should be owned by the actual user’s account, not the user account used for the httpd process. Group ownership is irrelevant unless there are specific group requirements for the web-server process permissions checking. This is not usually the case. All directories should be 755 or 750. All files should be 644 or 640. … Read more

error log bloated by add_view

I’m not sure where this would be coming from, but it’s likely a plugin or some custom code is doing this. You could try to track this down using grep on the command line: cd /path/to/wp-content/ grep error_log -rn –include \*.php . | grep add_view This should hopefully list any PHP files that have a … Read more

Object of class stdClass could not be converted to string in

I solved it. Just change: foreach( $poster_id as $index => $posterss_id ) { global $post; $post = get_post( $posterss_id->ID ); $linker_sluger = $link_sluger[$index]->guid; /* … */ } Full Solution: global $wpdb; $poster_id = $wpdb ->get_results( “SELECT ID from wp_posts WHERE post_status=”publish” AND post_type=”post” AND post_content LIKE ‘%[gallery%’ ORDER BY ID DESC” ); $link_sluger = $wpdb … Read more

403 forbidden access to my whole site

You need to look at all files via your hosting File Manager (or FTP). Look for any code that shouldn’t be there. See my answer to Coinhive Malware on WordPress websites , of things to check. And here’s the process I use to clean up hacked WP sites: https://securitydawg.com/recovering-from-a-hacked-wordpress-site/ . Basically: change credentials on everything; … Read more

500 error for all pages and post after move localhost to server

First change database name, username and password in the config.php file /** The name of the database for WordPress */ define(‘DB_NAME’, ‘DB_NAME’); /** MySQL database username */ define(‘DB_USER’, ‘DB_USERNAME’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘DB_PASSWORD’); then upload the database and run the following queries, this will change all the local links to your live … Read more

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