vandman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Update not possible anymore since WP4.1OK, I have tried, It is simply crazy.
I set first the max memory limit at 512MB, it did not work. Then I tried with a max memory limit of 1024MB, the resulte was the same.Who can help me with this issue?
vandman
Forum: Fixing WordPress
In reply to: Update not possible anymore since WP4.1OK, Now I know why there is a limit at 256MB.
It is implied within WordPress. Look at this post.
It seems that to be able to use more memory than 256MB, you must set in the wp-config.php file:
define('WP_MAX_MEMORY_LIMIT', '512M');
I will try it to do my update.
Regards
vandmanForum: Fixing WordPress
In reply to: Update not possible anymore since WP4.1Thanks, but I want to fix my issue regarding the amount of memory that wordpress use.
I can not explane why I can’t go over 256MB when the only memory parameter is in php.ini and is set at 512MB???
I can not explain as well why wordpress is consuming that much amount of memory???
Nobody seems to know why?
Vandman
Forum: Fixing WordPress
In reply to: Update not possible anymore since WP4.1Hi,
I come back whit this question as I did not solve it.
Does someone knows why WordPress exhauste the memory at 256MB when I set up the limit in php.ini at 512MB?
Regards
VandmanForum: Fixing WordPress
In reply to: Update not possible anymore since WP4.1Hi,
I already desabled all the pluggin to do the update.
This does not solve the issue.
Any other idea?
Regards
Vandman
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Erro loading ImagesI found a solution by modifying the code:
The help came from this link:
I modified the code line 201:
$inserted_images[] = $src['scheme'] . '://' . $src['host'] . $src['path']; // strip off any query strings*/
by:
// strip off any query strings from src if( ! empty($src['scheme']) && ! empty($src['host']) ) { $inserted_images[] = $src['scheme'] . '://' . $src['host'] . $src['path']; } elseif( ! empty($src['host']) ) { $inserted_images[] = '//' . $src['host'] . $src['path']; } else { $inserted_images[] = $src['path']; } }
I got rid of the “WP_HOME . ” as “WP_HOME . ” is useless and make an error in the resulte.
Is it possible to add this code in the next update?
Regards,
VandmanI think the “best practice” is to avoid sql keyword in each field of the database. Like that, there is no confusion.
I think the error comes from the fact they create a row using a keyword
key bigint(20) NOT NULL,
Key means something special for mysql, KEY is normally a synonym for INDEX. So it is not something that can be used as a row. I think the table needs to be corrected.