GithubHelp home page GithubHelp logo

Comments (16)

jawngee avatar jawngee commented on July 21, 2024 3

The f*cking fork it, fix it and send a pull request!

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024 1

from ilab-media-tools.

LarkRiseMedia avatar LarkRiseMedia commented on July 21, 2024 1

Has there been an update on this?

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024 1

Fixed in latest commit and release. It'll be a bit before it's up on WordPress's plugin thing.

from ilab-media-tools.

jawngee avatar jawngee commented on July 21, 2024

from ilab-media-tools.

Simoneth avatar Simoneth commented on July 21, 2024

@jawngee I've installed from WP dashboard.
The warning is related to this:

$meta=wp_get_attachment_metadata($id);
if (!isset($meta['sizes']) || !isset($meta['sizes'][$size])) {
	return $fail;
}

My specs:

PHP Version                   7.0.18-1+deb.sury.org~trusty+1
MySQL Version                 5.6.27
Web Server Info               Apache/2.4.7 (Ubuntu)
WP version                    4.7.4
Media Cloud by ILAB           1.4.5

from ilab-media-tools.

Simoneth avatar Simoneth commented on July 21, 2024

my error log file it's gonna to explode with all these errors
[Thu May 18 09:52:06.262731 2017] [:error] [pid 22669] [client 157.55.39.30:18495] PHP Warning: Illegal offset type in isset or empty in /var/www/html/blog/wp-content/plugins/ilab-media-tools/classes/tools/s3/ilab-media-s3-tool.php on line 1012

Is there a quick fix that I can use?

from ilab-media-tools.

LarkRiseMedia avatar LarkRiseMedia commented on July 21, 2024

Yes I have the same issue, its listed above all the images in my media library

Warning: Illegal offset type in isset or empty in /home/xxxxx.com/public_html/wp-content/plugins/ilab-media-tools/classes/tools/s3/ilab-media-s3-tool.php on line 1012

from ilab-media-tools.

Simoneth avatar Simoneth commented on July 21, 2024

waiting for this me too

from ilab-media-tools.

wedevsystem avatar wedevsystem commented on July 21, 2024

Hi, thanks for your great plugin and I do have facing above issue. May I know how should I fix it?
My site is running on Nginx with Ubuntu 16.04.

from ilab-media-tools.

LarkRiseMedia avatar LarkRiseMedia commented on July 21, 2024

Any news?

from ilab-media-tools.

LarkRiseMedia avatar LarkRiseMedia commented on July 21, 2024

I have a site full of Illegal Offset errors! Any news on anyone solving this error?

from ilab-media-tools.

curranabell avatar curranabell commented on July 21, 2024

Any news resolving this error? I am unable to use the wordpress importer as I am getting this error. Thank you!

from ilab-media-tools.

Simoneth avatar Simoneth commented on July 21, 2024

A temporary solution can be found here: https://stackoverflow.com/questions/45885205/php-7-0-illegal-offset-type-in-isset-or-empty

from ilab-media-tools.

Simoneth avatar Simoneth commented on July 21, 2024

fixed? I don't think so...
in the file /wp-content/plugins/ilab-media-tools/classes/tools/s3/ilab-media-s3-tool.php

Below this line:

$meta=wp_get_attachment_metadata($id);

add this:

if(count($meta["sizes"]) < $size) return $fail;

It's the only thing that works for me.

from ilab-media-tools.

JulienMelissas avatar JulienMelissas commented on July 21, 2024

Seriously, this is open source! If you find a fix, fix it!

from ilab-media-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.