WordPress.org

Ready to get started?Download WordPress

Forums

Increase Upload Max Filesize
[resolved] The plugin created problems on my site (5 posts)

  1. handres1977
    Member
    Posted 4 months ago #

    I installed the plugin "Increase Upload Max Filesize” in my wordpress site andresizquierdo.com. Now I get a message that says:

    "Warning: creating default object from empty value in /home2/fernanf6/public_html/andresizquierdo.com/wp-content/themes/platformpro/core/library/class.layout.php on line 164”
    Many line have been created by the plugin so far. What can I do to delete this lines and normalize my site. thanks

    https://wordpress.org/plugins/increase-upload-max-filesize/

  2. isabel104
    Member
    Plugin Author

    Posted 4 months ago #

    I'm sorry to hear that. I hope this helps:

    The plugin only creates 2 lines upon installation. It adds the 2 lines to the php5.ini file on the root of your site. If the file does not exist on the root of your site, then the file is created (as stated in the description), and the 2 lines will be added to the newly-created file.

    (The plugin will add more lines if you run the plugin again from the Tools menu, but not upon plugin installation).

    Solution to UNDO what the plugin did:

    1. Look for the file named php5.ini in your site's root directory on the server.

    2. If the file does not exists, then the plugin did not even get to do it's job. In this case, deleting the plugin and clearing your cache should fix it.

    3. If the php5.ini does exits, open it.

    4. Inside php5.ini, look at the for 2 lines that look like:

    upload_max_filesize = 32M
    post_max_size = 33M

    Those are the only 2 lines that the plugins adds. If you find those EXACT lines at the very bottom of the file (if these are the last 2 lines in the file), then it's very likely that the plugin created these 2 lines. If you want to undo them, then delete those 2 lines. Save the file and close it.

    5. If you don't find the 2 lines from step 4, then the plugin did not get to accomplish it's job. In this case, if there is other content in the file, then do NOT make any changes to this file. Leave everything as is and close the file. However, if the file is completely empty and blank (this is highly unlikely), then perhaps the plugin created the file but did not add the 2 lines, in which case you can delete the file.

    I hope this helps.

  3. handres1977
    Member
    Posted 4 months ago #

    Isabel, thanks for your answer. How ever, I don´t know how to get to the site's root directory on the server. I installed the plugin since my knowledge of programing is limited. Also, the plugin did not instal 2 lines, but more than 20 lines. Please help. This is the site of the company and the plugin created a big caos. thanks!

  4. isabel104
    Member
    Plugin Author

    Posted 4 months ago #

    Okay. The answers to these questions will allow me to help as best I can.

    1. Where did the plugin install more than 20 lines? Do you know into which file, or any other details? How do you know it is 20 lines? Are you getting some "PHP Notice"?

    2. Are you running on "debug" mode?

    3. Who is your web host company? (Most web hosts have an easy way for users to see their site's files.)

  5. isabel104
    Member
    Plugin Author

    Posted 4 months ago #

    Also, I just looked at your site, and those errors have nothing at all to do with the plugin. Those errors are an issue with your theme, "platformpro".

    That being said, I forgot the most important step:

    Check your site with the default WordPress theme, and see if your problem persists. If it does not, then the problem is with your theme (this is standard practice when it comes to Troubleshooting WP Plugins).

Reply

You must log in to post.

About this Plugin

About this Topic