Support » Plugin: Media Webp » Erreur HTTP.

  • Resolved Anonymous User 16564803

    (@anonymized-16564803)


    I am on a shared OVH server with a new WordPress installation.
    I search, I can not find the mistake.
    As soon as I want to upload a JPEG / PNG image, WordPress will display an error.
    Same mistake to convert a file already present in the upload folder.

    [26-Oct-2018 17:37:47 UTC] PHP Notice:  Undefined variable: base_dir_post in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/autoload.php on line 159
    [26-Oct-2018 17:37:47 UTC] PHP Deprecated:  Non-static method WPST\Media_Webp\Plugin::networkactive() should not be called statically in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-links.php on line 70
    [26-Oct-2018 17:37:47 UTC] PHP Deprecated:  Non-static method WPST\Media_Webp\Plugin::networkactive() should not be called statically in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-links.php on line 56
    [26-Oct-2018 17:37:49 UTC] PHP Notice:  Undefined variable: base_dir_post in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/autoload.php on line 159
    [26-Oct-2018 17:37:54 UTC] PHP Notice:  Undefined variable: base_dir_post in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/autoload.php on line 159
    [26-Oct-2018 17:37:54 UTC] PHP Deprecated:  Non-static method WPST\Media_Webp\Plugin::networkactive() should not be called statically in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-links.php on line 70
    [26-Oct-2018 17:37:54 UTC] PHP Deprecated:  Non-static method WPST\Media_Webp\Plugin::networkactive() should not be called statically in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-links.php on line 56
    [26-Oct-2018 17:37:54 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WPST\Media_Webp\imagewebp() in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-admin.php:267
    Stack trace:
    #0 /home/joanduburn/wp-jd/wp-includes/class-wp-hook.php(286): WPST\Media_Webp\Admin->create_webp(Array, 'upload')
    #1 /home/joanduburn/wp-jd/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home/joanduburn/wp-jd/wp-admin/includes/file.php(893): apply_filters('wp_handle_uploa...', Array, 'upload')
    #3 /home/joanduburn/wp-jd/wp-admin/includes/file.php(923): _wp_handle_upload(Array, Array, '2018-10-26 19:3...', 'wp_handle_uploa...')
    #4 /home/joanduburn/wp-jd/wp-admin/includes/media.php(282): wp_handle_upload(Array, Array, '2018-10-26 19:3...')
    #5 /home/joanduburn/wp-jd/wp-admin/async-upload.php(81): media_handle_upload('async-upload', 0)
    #6 {main}
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous User 16564803

    (@anonymized-16564803)

    Error in chrome :

    JQMIGRATE: Migrate is installed with logging active, version 1.4.1
    moxie.js?ver=1.3.5:7173 POST http://www.joandb.fr/wp-admin/async-upload.php 500 (Internal Server Error)
    Plugin Author steveturner2018

    (@steveturner2018)

    Hi joandb,
    Thanks for the report. I have fixed the issues you where experiencing and just released an update.

    The undefined variable will now be ok. This was because I hadn’t declared the variable before use.
    The static method calls are now to an instance of the class.
    The undeclared function imagewebp() suggests you are running a version of php less that 5.5, or you are missing the GD module but I am sure you would of had more error notices if you where.

    Please let me know if you are still having problems after installing the update.
    🙂

    Kind regards

    Steve.

    Thread Starter Anonymous User 16564803

    (@anonymized-16564803)

    Hi Steve !

    I am sorry to tell you that even after uninstalling and reinstalling the Media Webp plugin, the error is still similar … 🙁
    Google error :

    moxie.js:7173 POST http://www.***.fr/wp-admin/async-upload.php 500 (Internal Server Error)
    send @ moxie.js:7173
    exec @ moxie.js:2247
    shimExec @ moxie.js:2417
    exec @ moxie.js:2435
    exec @ moxie.js:5369
    _doXHR @ moxie.js:5407
    send @ moxie.js:5058
    uploadNextChunk @ plupload.js:1522
    onUploadFile @ plupload.js:1559
    dispatchEvent @ plupload.js:2107
    trigger @ moxie.js:2070
    uploadNext @ plupload.js:933
    start @ plupload.js:1865
    (anonymous) @ handlers.js:477
    dispatchEvent @ plupload.js:2107
    trigger @ moxie.js:2070
    (anonymous) @ plupload.js:2017
    (anonymous) @ moxie.js:249
    setTimeout (async)
    (anonymous) @ plupload.js:1989
    (anonymous) @ moxie.js:249
    (anonymous) @ plupload.js:1940
    (anonymous) @ plupload.js:696
    (anonymous) @ plupload.js:1939
    callNext @ moxie.js:247
    (anonymous) @ moxie.js:249
    (anonymous) @ plupload.js:1940
    (anonymous) @ plupload.js:717
    (anonymous) @ plupload.js:1939
    callNext @ moxie.js:247
    (anonymous) @ moxie.js:249
    (anonymous) @ plupload.js:1940
    (anonymous) @ plupload.js:677
    (anonymous) @ plupload.js:1939
    callNext @ moxie.js:247
    inSeries @ moxie.js:253
    filterFile @ plupload.js:1945
    (anonymous) @ plupload.js:1980
    callNext @ moxie.js:247
    inSeries @ moxie.js:253
    addFile @ plupload.js:2014
    fileInput.onchange @ plupload.js:1089
    (anonymous) @ moxie.js:2086
    (anonymous) @ moxie.js:2020
    callNext @ moxie.js:247
    inSeries @ moxie.js:253
    dispatchEvent @ moxie.js:2025
    trigger @ moxie.js:2070
    onChange @ moxie.js:6610

    Wordpress report :

    [28-Oct-2018 15:33:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WPST\Media_Webp\imagewebp() in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-admin.php:266
    Stack trace:
    #0 /home/joanduburn/wp-jd/wp-includes/class-wp-hook.php(286): WPST\Media_Webp\Admin->create_webp(Array, 'upload')
    #1 /home/joanduburn/wp-jd/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /home/joanduburn/wp-jd/wp-admin/includes/file.php(893): apply_filters('wp_handle_uploa...', Array, 'upload')
    #3 /home/joanduburn/wp-jd/wp-admin/includes/file.php(923): _wp_handle_upload(Array, Array, '2018-10-28 16:3...', 'wp_handle_uploa...')
    #4 /home/joanduburn/wp-jd/wp-admin/includes/media.php(282): wp_handle_upload(Array, Array, '2018-10-28 16:3...')
    #5 /home/joanduburn/wp-jd/wp-admin/async-upload.php(81): media_handle_upload('async-upload', 0)
    #6 {main}
      thrown in /home/joanduburn/wp-jd/wp-content/plugins/media-webp/classes/class-admin.php on line 266
    
    Thread Starter Anonymous User 16564803

    (@anonymized-16564803)

    I think this comes from a missing instalation to OVH’s shared server.
    Because on Laragon everything works.

    Thanks for your very good job 😀
    Have a good day or night !

    • This reply was modified 4 years, 11 months ago by Anonymous User 16564803.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Erreur HTTP.’ is closed to new replies.