autotutorial
Forum Replies Created
-
if you accidentally deleted the entire directory of the themes you need to re-create the
themesdirectory in thewp-contentdirectory check from ftp which theme to use in wp-includes/default_constants.php about your installation.
Re-Create thepluginsdirectory in thewp-content.
Download your theme and upload it with ftp without .zip 😀This is an example if starting installation from wordpress 4.9 https://github.com/WordPress/WordPress/blob/4.9-branch/wp-includes/default-constants.php#L360
If you use an obsolete version of wordpress I hope the current themes are compatible with the old versions.
Beyond this, do not make manual update, always create back up your files and database.
The error you indicated was added in wordpress 5.2Forum: Fixing WordPress
In reply to: Problem moving to new Server/domainthe http 404 error indicates that for some reason the search was not found. it is possible to write wordpress version if is normal or multisite and also the contents of the .htaccess file enclosed in forum code tags.
Thank youForum: Fixing WordPress
In reply to: Problem moving to new Server/domainAfter you use a plugin for replacing the old domain on new domain for post, pages etc. https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls.
True login wp-login.php or wp-admin/ 🙂
I noticed that in the second case I see port 8008Forum: Fixing WordPress
In reply to: wp-cron.php problemhello can you offer more information? What version of wordpress do you use, what version of php?
install health check to diagnose your site.Have you come to create the second log as requested? I think I manually add the time limit let me know so I make the change it.
Forum: Installing WordPress
In reply to: I cant access wp to be able to install itRead Exstended manual installation taken from the wordpress archive 5.1.0 works with minimum php 5.2.4
backup your files and database first.Forum: Fixing WordPress
In reply to: wp-cron.php problemHi I’m sorry that you encounter errors, try enabling
define( 'ALTERNATE_WP_CRON', true );
in your wp-config.php file (create a backup of this file) and write the code before the require_once at the bottom of the page.
The error may be due to a theme or plugin conflict or the plugin does not call or write the object correctly.
Can you put a log in the foreach before $cronehooks? obviously you also need to change the variable as the first argument of the foreach$crons
You will need to filter for the time limit expressed in the function on the foreach $cronhooks (error_log) to understand a faulty $crons.function var2_x_error_log( $objectauto2=null ){ ob_start(); // start buffer capture var_dump( $objectauto2 ); // dump the values $contentsauto2 = ob_get_contents(); // put the buffer into a variable ob_end_clean(); // end capture error_log( $contentsauto2,3,'/absolutepath/' ); // log contents of the result of var_dump( $objectauto ) return $contentsauto; } var2_x_error_log( $crons );absolutepath for example /home/user/public_html/log/debug.log
Forum: Fixing WordPress
In reply to: Upgrade IssuesModify
$blogs = array();
To
$blogs = array( $blog_id => new stdClass );
file user.php on line 656Modify
$blog_deets[ $blog_id ]->userblog_id = $blog_id;
To$blog_deets[$blog_id] = new stdClass(); $blog_deets[ $blog_id ]->userblog_id = $blog_id;file user.php on line 705.
you just have to write the code as I wrote, you can use a php IDE or Editor that tells you for correct syntax.
Forum: Installing WordPress
In reply to: I cant access wp to be able to install itManual installation https://wordpress.org/support/article/updating-wordpress/#manual-update
Manual installation for wordpress less than 3.7 read this https://wordpress.org/support/article/upgrading-wordpress-extended-instructions/ every two minorForum: Installing WordPress
In reply to: I cant access wp to be able to install itThe root wordpress/wp-load.php with wordpress/wp-includes/load.php is different 🙂
Forum: Localhost Installs
In reply to: Plugin conflictHere there is no support for themes or paid plugins, in these cases it is better to contact the author or their support.
Also because of the principle because you can’t install for free you can’t debug and therefore solve the error. The error you can provide can also be related to something else.Forum: Fixing WordPress
In reply to: Upgrade Issueshttps://github.com/WordPress/WordPress/blob/3.1-branch/wp-includes/user.php#L705 add
$blog_deets[$blog_id] = new stdClass();Forum: Installing WordPress
In reply to: I cant access wp to be able to install itif you access the file /wordpress/wp-includes/load.php this file exists? inside htdocs your root.
Forum: Fixing WordPress
In reply to: Can’t sign in – says invalid password but it’s actually correcton some hosts the md5 function in phpmyadmin (bug mysql 5.1) does not do its job it is more practical to create a user with a provisional password with provide online services or php code echo md5(‘test’);
Also you can enable WP_DEBUG and SAVEQUERIES
https://codex.wordpress.org/Editing_wp-config.php#Debug
https://codex.wordpress.org/Editing_wp-config.php#Save_queries_for_analysis
use it only for the non-special account (no super admin no admin)The default debug log file is /wp-content/debug.log
Note* After your test, change your password or delete: the user, debug.log, WP_DEBUG, SAVEQUERIES and from your footer theme.
Forum: Fixing WordPress
In reply to: Upgrade IssuesThis problem has been solved in wordpress 3.3 https://core.trac.wordpress.org/ticket/16836
This code$blogs = array(); $blogs[$blog_id] = new stdClass(); $blogs[$blog_id]->userblog_id = $blog_id;is the same as my code
$blogs = array( $blog_id => new stdClass ); $blogs[$blog_id]->userblog_id = $blog_id;Without disabling the warnings ..
This code should not be used@ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED); @ini_set('display_errors','Off');@mayhem1969 I look forward to hearing from you
Forum: Fixing WordPress
In reply to: Upgrade Issues@ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED); @ini_set('display_errors','Off');https://github.com/WordPress/WordPress/blob/3.1-branch/wp-includes/user.php#L655 For line 655.
sorry for your problem unfortunately we cannot predict what will happen in the future and that is wordpress 3.1 is not tested for php higher than php 5.3.
I can’t code the code because to initialize a class I should add an array with stdClass but if the user has no blog the code expects an empty array.* @return array A list of the user’s blogs. False if the user was not found or an empty array if the user has no blogs.
otherwise you can replace this https://github.com/WordPress/WordPress/blob/3.1-branch/wp-includes/user.php#L656 with
$blogs = array( $blog_id => new stdClass );
but as I said before I’m not sure.
You prove disable the Warnings 🙂 .