Home / Forums / You Theme Support / HTTP Error uploading Media

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts

  • icsllc
    Participant

    Hi,

    I cannot upload images without getting an HTTP Error in the Media Library unless I deactivate all of the plugins that came with the theme. Any Ideas as to why this is happening and how I can fix it?

    Thanks!

    Hi @icsllc

    Can you send over your site’s URL and login credentials so we can test and check on this further from our end?

    Regards,


    icsllc
    Participant

    Sure thing! We are working on setting up a development installation of the site so the live site can keep functioning normally while we troubleshoot with you.

    Will keep you posted!

    Thanks,

    Josh

    Alright! Just let us know if we can proceed with the troubleshooting, @icsllc


    icsllc
    Participant

    Hi guys,

    Thanks for your patience! We have set up the dev install of the site we are having the problem with and have created an FTP account for you. Is there an email where I can send the WP and FTP logins?

    Thanks!

    Josh

    Hi @icsllc

    You can send your login here in this forum. Just make sure you set your reply as ‘private’.

    Regards,


    icsllc
    Participant
    This reply has been marked as private.

    http://acoda.com/forums/topic/http-error-uploading-media/

    Hi @icsllc

    Before we look further into this, can you please update your theme to the newest version first then update all your plugins so that we can make sure none of these outdated plugins/theme is causing the issue?

    Thanks!


    icsllc
    Participant

    Hello,

    Sure thing!

    Everything is now updated (except Visual Composer, as we are using the version that came with the theme and have not bought a license).

    Thanks,

    Josh

    Thanks for updating it.

    This looks to be an issue with your server. Currently, all plugins are now disabled with the Twenty Sixteen theme activate and the HTTP Error still appears upon upload.

    Can you please coordinate this with your hosting provide or try to check your server logs to see if there is any definite error that will point to what caused the issue?

    Regards,


    icsllc
    Participant

    Hi Acoda,

    I talked with Inmotion hosting support and they say everything looks fine from their end. They had me turn on WP_DEBUG because the HTTP Error is not a very helpful error message and this is what the debug.log file said:

    
    [15-Dec-2016 18:40:03 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:03 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:03 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:08 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:08 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:08 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:14 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:14 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:14 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:20 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:20 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:20 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:27 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:27 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:27 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:37 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:37 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:37 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:50 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:50 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:50 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:52 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:40:52 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:40:52 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    [15-Dec-2016 18:40:52 UTC] Array
    (
        [akismet_debug] => Array
            (
                [akismet_url] => https://rest.akismet.com/1.1/verify-key
                [http_args] => Array
                    (
                        [body] => key=0&blog=https%3A%2F%2Fjustinefit.com
                        [headers] => Array
                            (
                                [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
                                [Host] => rest.akismet.com
                                [User-Agent] => WordPress/4.6.1 | Akismet/3.2
                            )
    
                        [httpversion] => 1.0
                        [timeout] => 15
                    )
    
                [response] => Array
                    (
                        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => nginx
                                        [date] => Thu, 15 Dec 2016 18:40:52 GMT
                                        [content-type] => text/plain; charset=utf-8
                                        [content-length] => 7
                                    )
    
                            )
    
                        [body] => invalid
                        [response] => Array
                            (
                                [code] => 200
                                [message] => OK
                            )
    
                        [cookies] => Array
                            (
                            )
    
                        [filename] => 
                        [http_response] => WP_HTTP_Requests_Response Object
                            (
                                [response:protected] => Requests_Response Object
                                    (
                                        [body] => invalid
                                        [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Thu, 15 Dec 2016 18:40:52 GMT
    Content-Type: text/plain; charset=utf-8
    Content-Length: 7
    Connection: close
    
    invalid
                                        [headers] => Requests_Response_Headers Object
                                            (
                                                [data:protected] => Array
                                                    (
                                                        [server] => Array
                                                            (
                                                                [0] => nginx
                                                            )
    
                                                        [date] => Array
                                                            (
                                                                [0] => Thu, 15 Dec 2016 18:40:52 GMT
                                                            )
    
                                                        [content-type] => Array
                                                            (
                                                                [0] => text/plain; charset=utf-8
                                                            )
    
                                                        [content-length] => Array
                                                            (
                                                                [0] => 7
                                                            )
    
                                                    )
    
                                            )
    
                                        [status_code] => 200
                                        [protocol_version] => 1.1
                                        [success] => 1
                                        [redirects] => 0
                                        [url] => https://rest.akismet.com/1.1/verify-key
                                        [history] => Array
                                            (
                                            )
    
                                        [cookies] => Requests_Cookie_Jar Object
                                            (
                                                [cookies:protected] => Array
                                                    (
                                                    )
    
                                            )
    
                                    )
    
                                [filename:protected] => 
                                [data] => 
                                [headers] => 
                                [status] => 
                            )
    
                    )
    
            )
    
    )
    
    [15-Dec-2016 18:41:00 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 117
    [15-Dec-2016 18:41:00 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 144
    [15-Dec-2016 18:41:00 UTC] PHP Notice:  Undefined variable: allowed_tags in /home/jfit/public_html/wp-content/themes/you/lib/inc/shortcodes.php on line 182
    

    Do you think this shortcodes.php could be causing the issue?

    • This reply was modified 10 months, 1 week ago by  icsllc.

    Hi @icsllc

    Can you please try to reinstall the theme? Also, what PHP version are you currently using?

    Regards,

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.