class-wp-themes-list-table.php – img upload
-
Hi,
Many thanks in advance for any help or advice.
I attempt to upload an image and i get (on wp-admin page):
“Image could not be processed. Please go back and try again.”
When i look at the Apache logs i see:
Sun Mar 11 11:12:35 2012] [error] [client 192.168.1.67] PHP Warning: array_slice() expects parameter 1 to be array, boolean given in /home/sam/www/mysite.com/wp-admin/includes/class-wp-themes-list-table.php on line 55, referer: https://mysite.com/wp-admin/themes.php
line 55:
$this->items = array_slice( $themes, $start, $per_page );
populated with:
$themes = get_allowed_themes();
I did previously have the error of not being able to upload imgs to wp-content/uploads, i added the Apache user wwwrun to an admin account on the server.
It then successfully put the imgs on the server, but throws the above php error and doesnt update site with new image.
Regards, sam.wootton
- The topic ‘class-wp-themes-list-table.php – img upload’ is closed to new replies.