Forum Replies Created

Viewing 15 replies - 1 through 15 (of 42 total)
  • The issue is intermittent for me between page reloads. The error happens 7 times out of 10 reloads… It’s obvious because when the JavaScript error occurs, the password field is masked (just password dots). When the JS executes without error, the password field is unmasked (shows plain text).

    Something is triggering a function in user-profile.js before the init (page load) function runs…it seems.

    Thread Starter iNexi

    (@inexi)

    I added the debug line, the log is below. If it wasn’t clear before, the metadata isn’t the WP_Error, it’s the $saved object with the following line causing the fatal error: unset( $saved['path'] ); I see in the log below the second run “PROCESSING SINGLE” has an “s3://” path…

    1581868853.184 SETTINGS BEFORE FIRST METADATA SAVED Array (     [exclude] => Array         (         )      [unavailable] => Array         (         )      [force_original_to] =>      [complete_global_ignore] => Array         (         )      [placeholders] => Array         (         )      [default_crop] => Array         (             [thumbnail] => cc             [post-thumbnail] => cc             [newsblocks] => cc             [newsblocksbig] => cc             [staffbio] => cc             [staffbiomoved] => cc             [leadhead] => cc             [leadheadalt] => cc             [sliderbig] => cc             [timelinesplash] => cc         )      [default_quality] => Array         (             [thumbnail] => 100             [medium] => 100             [medium_large] => 100             [large] => 100             [post-thumbnail] => 100             [newsblocks] => 100             [newsblocksbig] => 100             [staffbio] => 100             [staffbiomoved] => 100             [leadhead] => 100             [leadheadalt] => 100             [sliderbig] => 100             [sliderbignc] => 100             [sailtype] => 100             [materialthumb] => 100             [specthumb] => 100             [timelinesplash] => 100         )      [enable_perfect] =>  ) 
    1581868853.1843 FIRST METADATA SAVED Array (     [width] => 2000     [height] => 1335     [file] => 2020/02/nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1.jpg     [sizes] => Array         (         )      [image_meta] => Array         (             [aperture] => 32             [credit] =>              [camera] => NIKON D750             [caption] =>              [created_timestamp] => 0             [copyright] =>              [focal_length] => 105             [iso] => 100             [shutter_speed] => 0.003125             [title] =>              [orientation] => 0             [keywords] => Array                 (                 )          )  ) 
    1581868853.1844 START PROCESS ALL REMAINING SIZES FOR 353168901817
    1581868853.1845 MAKE IMAGE 353168901817|all||0
    1581868853.1873 PROCESSING SINGLE 353168901817|WP5.2|thumbnail|/www/xyz_559/public/wp-content/uploads/2020/02/nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1.jpg
    1581868853.1875 Assess 1
    1581868853.1876 ALLOW EXECUTION, CONTINUE
    1581868853.2148 CROP 150x150|Array (     [0] => center     [1] => center ) 
    1581868853.2712 EDITOR PROCESSED IMAGE
    1581868853.2714 Array (     [width] => 2000     [height] => 1335     [file] => 2020/02/nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1.jpg     [sizes] => Array         (         )      [image_meta] => Array         (             [aperture] => 32             [credit] =>              [camera] => NIKON D750             [caption] =>              [created_timestamp] => 0             [copyright] =>              [focal_length] => 105             [iso] => 100             [shutter_speed] => 0.003125             [title] =>              [orientation] => 0             [keywords] => Array                 (                 )          )  ) 
    1581868853.6642 PROCESSING SINGLE 353168901817|WP5.2|medium|s3://xyz-com/wp-content/uploads/2020/02/16110053/nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1.jpg
    1581868853.6644 Assess 1
    1581868853.6646 ALLOW EXECUTION, CONTINUE
    1581868853.8236 SCALE 300x300
    1581868853.8774 EDITOR PROCESSED IMAGE
    1581868853.8777 Array (     [width] => 2000     [height] => 1335     [file] => 2020/02/nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1.jpg     [sizes] => Array         (             [thumbnail] => Array                 (                     [file] => nature-blossom-plant-white-flower-petal-834499-pxhere.com_-1-1-150x150.jpg                     [width] => 150                     [height] => 150                     [mime-type] => image/jpeg                 )          )      [image_meta] => Array         (             [aperture] => 32             [credit] =>              [camera] => NIKON D750             [caption] =>              [created_timestamp] => 0             [copyright] =>              [focal_length] => 105             [iso] => 100             [shutter_speed] => 0.003125             [title] =>              [orientation] => 0             [keywords] => Array                 (                 )          )      [filesize] => 180644 ) 
    PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /www/xyz_559/public/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php:3716
    • This reply was modified 5 years, 1 month ago by iNexi.
    Thread Starter iNexi

    (@inexi)

    Thank you so much for attending to this issue! A couple follow-ups…

    I’m in touch with the developer of WP Offload Media, so I’ll direct him to this thread and keep everyone in touch. I don’t know if the free version includes this option, but the error is only triggered when the setting “Remove Files From Server” is enabled for WP Offload Media. So the files are physically being deleted from the local server after being uploaded to a CDN. I know they attempt to accommodate even plugins like yours which directly manipulate media files; the proof being these two plugins have played nice for years on my site.

    The fatal error with media upload is still occurring. Here’s a debug log (with your plugin’s debug setting set to on):

    1581804107.0532 SETTINGS BEFORE FIRST METADATA SAVED Array (  {truncated}  ) 
    1581804107.0538 START PROCESS ALL REMAINING SIZES FOR 353168901814
    1581804107.054 MAKE IMAGE 353168901814|all||0
    1581804107.0556 PROCESSING SINGLE 353168901814|WP5.2|thumbnail|/www/public/wp-content/uploads/2020/02/fff.jpg
    1581804107.0558 Assess 1
    1581804107.0559 ALLOW EXECUTION, CONTINUE
    1581804107.0899 CROP 150x150|Array (     [0] => center     [1] => center ) 
    1581804107.1397 EDITOR PROCESSED IMAGE
    1581804107.6251 PROCESSING SINGLE 353168901814|WP5.2|medium|s3://testbucket-com/wp-content/uploads/2020/02/15170147/fff.jpg
    1581804107.6254 Assess 1
    1581804107.6255 ALLOW EXECUTION, CONTINUE
    1581804107.8213 SCALE 300x300
    1581804107.8774 EDITOR PROCESSED IMAGE
    PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /www/public/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php:3715
    Stack trace:
    #0 /www/public/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php(3750): SIRSC_Image_Regenerate_Select_Crop::process_single_size_from_file(353168901814, 'medium', Array, '', 0)
    #1 /www/public/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php(3581): SIRSC_Image_Regenerate_Select_Crop::make_images_if_not_exists(353168901814, 'all')
    #2 /www/public/wp-includes/class-wp-hook.php(286): SIRSC_Image_Regenerate_Select_Crop::process_filtered_attachments(8393763, 353168901814, '_wp_attachment_...', Array)
    #3 /www/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /www/public/wp-includes/plugin.php(465): WP_Hook->do_action(A in /www/public/wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php on line 3715
    Thread Starter iNexi

    (@inexi)

    Any thoughts or fixes on this?! I’ve noticed recent updates still contain this security flaw.

    Thread Starter iNexi

    (@inexi)

    Do you mean was the appointment made in the Admin panel? No, it was made in the frontend by a client.

    Thread Starter iNexi

    (@inexi)

    Looks like it just needed a target… so the initial code was changed to include a target…

    jQuery(".specialbutton").featherlight("/wp-content/uploads/3.jpg");

    This would be helpful to update.

    Please and thank you!

    Thread Starter iNexi

    (@inexi)

    Also, in this case, this field is marked “Do not allow persistence”, so I would expect it to be totally removed from your system.

    Thread Starter iNexi

    (@inexi)

    Why support dynamic population from query strings, but not the php hook? Same function, just different sources…

    Thread Starter iNexi

    (@inexi)

    Activation does not fire when upgrading a plugin, it only fires when clicking Activate. This was changed in WP 3.1 (https://make.www.ads-software.com/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/)

    It is recommended to use an internal version constant stored in wp_options to know when updates occur.

    I will test and report back when I need to upgrade the next site, trying deactivate/activate. Thanks.

    Plugin Author iNexi

    (@inexi)

    Let me know if you’re still having the issue, or want to resolve it.

    Plugin Author iNexi

    (@inexi)

    Seems like you might have DEBUG turned on. Those are “Notices” not errors, they should be just fine.

    Plugin Author iNexi

    (@inexi)

    I apologize, but there is currently an issue with URLs that contain hyphens. I will work on releasing an update.

    Plugin Author iNexi

    (@inexi)

    Edit “easy-gallery-slider.php” (the plugin’s main file)

    On line 31 change:
    add_filter('the_content','easygalleryslider_insert_hook');

    TO:
    add_filter('the_content','easygalleryslider_insert_hook',9999);

    Let us know if that helps.

    Plugin Author iNexi

    (@inexi)

    Chitarristi.org I followed the link and the EGS loads correctly. I tried it in Chrome, Firefox, Safari. Are you not seeing the slideshow at the bottom of the post?

Viewing 15 replies - 1 through 15 (of 42 total)