devgroupejcl
Forum Replies Created
-
We use the Classima theme, with the plugins Classified Listing, Classified Listing Pro and Classified Listing Store. For some reason when we create products through the “post an ad” button, the picture we use is posted and used twice on the product page
Sorry for the late reply
Yes, it shows the same image twice after uploading, it’s not an image size problemForum: Fixing WordPress
In reply to: CSS broken in wp-adminHi, bit late with a response~
Disabling all plugins and using a base theme did not seem to help our problem, and sites have been continually getting this problem in disparate times with no real clue as to why. Locally everything is great, it truly only seems like a problem on sites on our servers.
Forum: Fixing WordPress
In reply to: Medialibrary broken after update WP 5.5We do have the same problem. Anyone have found a solution ?
I was able to fix the problem with adding a default whitelist route
add_filter(‘jwt_auth_default_whitelist’, ‘default_whitelist’);
function default_whitelist($default_whitelist)
{
array_push($default_whitelist, ‘/wp-json/’);return $default_whitelist;
}Hello, we just wanted to chime in and mention we’re running into the same exact issue. Here’s the error from the error_log file within our local setup:
PHP Fatal error: Allowed memory size of 5242880000 bytes exhausted (tried to allocate 262144 bytes) in /path/to/htdocs/website/dpro-installer/classes/class.engine.php on line 400, referer: http://localhost/website/dpro-installer/main.installer.php?archive=%2Fpath%2Fto%2Fhtdocs%2Fwebsite%2F20180207_websitetitle_a7129b96b825fcc95983_20180207151418_archive.zip&bootloader=installer.php&I notice that the “tried to allocate 262144 bytes” is the exact same as in @aris00 case.
For our local environment, we use XAMPP on Mac OS 10.13
– WordPress 4.9.2
– Duplicator Gold 3.5.7.1
– PHP 7.2.1-0
– max_execution_time 1200
– memory_limit -1 (unlimited)If you need any additional information, please let us know.
Forum: Plugins
In reply to: [Imsanity] Import images with imsanity programmaticlyI found the solution searching on the forum.
For anyone who wish to upload images programmaticly and make it pass in imsanity.
$targetPath =wp_upload_dir(); //4
//$name – file | $ds – directory separator
$targetFile = $targetPath[‘path’].$ds. $name;
move_uploaded_file($tempFile,$targetFile); //works fine
$params[‘type’] = image_type_to_mime_type(exif_imagetype($targetFile));$params[‘file’] = $targetFile;
$params[‘url’] = $targetPath[‘url’].”/”.$name;
imsanity_handle_upload($params);