• Resolved sdeepakbz

    (@sdeepakbz)


    Hey,

    Recently, the NextGen Gallery Plugin is unable to upload the images to any WordPress Website. On uploading the photos an error occurs in the web console of the browser.

    Site Details: https://prntscr.com/puolpn

    Uploading Error and Warnings: https://prntscr.com/puonnx
    Upload Fail: https://prntscr.com/puonzy

    error-log from web console: https://del.dog/lehexixufe

    I checked the gallery directory and can see that multiple directories are created for the gallery.
    Multiple Folders Created: https://prntscr.com/puokol

    Browser Tested
    Chrome
    Edge
    Opera

    Technology Stack Tested
    LiteSpeed
    OpenLiteSpeed
    Apache

    Other tests done
    1) Installed Fresh WordPress with no plugins and default twenty themes in all the Technology Stacks listed above.
    2) Tried PHP Version from 5.6 to 7.3
    3) Increased Memory LImits to extremely high values

    Some additional information that may help you:
    ? What hosting service are you using?
    VPS Server with CentOS 7.7
    ? Did you find a conflict with another active plugin?
    No, Tried Disabling all other plugins. Tried Fresh WordPress installation on same server as well as other servers.
    ? Which default WordPress Twenty series theme did you test with?
    TwentyNineteen
    ? Does this appear to be browser specific; and, if yes, which specific browser(s)?
    No, happens on all the browser
    ? If this appears to be related to workflow, please share in detail the steps you are taking to reproduce the issue.
    Add Gallery/Images > Upload Images> Create new gallery > Select Images > Tap Upload Button.
    ? If you are able to provide screen captures that may also be helpful.
    Screen capture provided above.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @sdeepakbz,

    I am sorry to hear of the issue. First of all, let’s check to ensure that you aren’t using any non-WordPress page as the domain’s front page. This also reefers to the “coming soon” plugin’s pages, please try to disable the “Coming Soon” mode in case that you are using it then try again.

    If nothing from above will help, please submit a report here https://www.imagely.com/report-bug/ specify that Mihai asked you to submit it and indicate the forum thread’s URL. We will need to take a closer look at the site and may ask you privately for the site’s details there.

    Thread Starter sdeepakbz

    (@sdeepakbz)

    Hello Mihai,

    Thank You for responding. I have submitted the bug report with reference to this thread URL.

    Highest Regards.

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    We have figured out in the inspection process that there was a issue with NextGen not allowing the images to be uploaded due to specifics from those images EXIF data.

    In similar cases, you can either use an image editing software to clear the EXIF data from the images or to apply the following code workaround to pass the validation:

    TypeError thrown Argument 1 passed to lsolesen\pel\PelJpeg::setExif() must be an instance of lsolesen\pel\PelExif, null given, called in .../nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/pel-0.9.6/class.exif_writer.php on line 121

    Replace:

    $new_image->setExif($metadata['exif']);

    with:

    if(!empty($metadata)) $new_image->setExif($metadata['exif']);

    • This reply was modified 5 years, 3 months ago by Mihai Ceban.
    Thread Starter sdeepakbz

    (@sdeepakbz)

    Hello Mihai,

    Thank You for the Support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Uploads Fails Uncaught TypeError: Cannot read property ‘status’ of null’ is closed to new replies.