Title: HTML Conversion
Last modified: January 18, 2018

---

# HTML Conversion

 *  [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/)
 * We have been attempting to convert a site, [pageantrymagazine.com](http://pageantrymagazine.com),
   into a WordPress theme for supposed ease-of-use for our non-technical team who
   do not code, but need need to update a page or add a page quickly if a newsworthy
   event presents itself.The site is quite extensive (since 1999) and has several
   languages. The install parameters were followed extensively, all formats listed,
   etc. We have attempted numerous imports and after several hours receive a fatal
   memory error. We have spent over three days with our host provider also attempting
   to import files, even going as far as choosing small directories, increasing 
   memory, providing another server with full space for testing, etc. Same crash
   challenge. One of the errors is as listed:
    Warning: Attempt to assign property
   of non-object in /home/pagean10/public_html/dir/wp-content/plugins/import-html-
   pages/html-importer.php on line 641
 * Warning: Attempt to assign property of non-object in /home/pagean10/public_html/
   dir/wp-content/plugins/import-html-pages/html-importer.php on line 641
 * Warning: Attempt to assign property of non-object in /home/pagean10/public_html/
   dir/wp-content/plugins/import-html-pages/html-importer.php on line 641
 * Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   378472553 bytes) in /home/pagean10/public_html/dir/wp-content/plugins/import-
   html-pages/html-importer.php on line 257
 * They feel the memory in the importer may not be large enough. As stated, the 
   site is large with over 6500 pages.
 * The conversion plug-in we have been attempting to use is HTML Import 2.
 * Any help greatly appreciated.
    -  This topic was modified 8 years, 4 months ago by [pageantry](https://wordpress.org/support/users/pageantry/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-conversion%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9895725)
 * Wow… the developer doesn’t respond to direct messages for over two months and
   suggest that we post on a “board”. No response, how apropos.
 *  [Terry Arthur](https://wordpress.org/support/users/terryarthur/)
 * (@terryarthur)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9897348)
 * Hello fellow Floridian!
 * First I want to say I really understand your frustration and I am going to try
   and help you because this is a community and I have been helped here many times
   and I want to pay that back through helping you. However, let’s be honest attempts
   to shame the developer of a fantastic FREE!!! plugin or run down the community
   here for not responding on your schedule will usually get the same results as
   you have had up to this point. Everything has constraints and free technical 
   support has the constraint of being delivered when someone finds some free time
   and out of the goodness of their heart decides to help someone else. If you need
   help on your schedule hire a developer(like the author of the plugin) to fix 
   things for you. I apologize for the lecture but I was really put off by the tone
   of your last post.
 * Second, don’t lose hope! The hard thing about hard things is just that. I have
   used this plugin to import over 10,000 pages and it worked fine with some tweaks
   to my server(PHP) and site(wp-config) configuration. It took me what felt like
   a hundred thousand tries to get it right though. So what you are trying to accomplish
   can most likely be done.
 * How much memory is allotted to PHP? It appears from the error message to be ~
   512MB. Have you tried setting the limit to say 1024MB? That is the value that
   worked for me. I also needed to add a couple of defines to my WordPress config
   file:
 * define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘1024M’);
 * I ran WordPress with no plugins, other than the importer, activated so that reduced
   the memory load too.
 * I also had to increase the execution timeout and a couple of other setting that
   do not come to mind right now but let’s start with the memory issue and work 
   from there.
 * If increasing resources doesn’t help then enable verbose PHP error reporting 
   and turn on debug in WordPress and report back with the errors and maybe we can
   get you moving forward. The whois that told me you were in Florida also tells
   me you are using InMotion Hosting and that probably means you are on a shared
   server which may not allow you to utilize so much of the server’s resources without
   choking and timing you out so if that is the case you will probably need to change
   your hosting plan.
 * I just noticed another post about this so I am going to link to this answer in
   that post.
 * Let me know how I can help,
 * Terry Arthur
 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9897586)
 * Thank you for the response Terry. Yes, it can seem a little harsh when the boss
   gets involved. whether it’s free or not when he is paying the in-house developers
   to address his concerns. We are on a dedicated server so that should not be a
   concern. When the host company tried to run the imort over a few days, increasing
   memory etc, the same challenge occurred, not to say they were doing anything 
   that we weren’t.
 * We like the fact that you were able to import over 10k pages as ours is approximately
   8k. We know that pour former in-house person is coming in this week and we will
   address your suggestions and keep you posted. Fingers crossed.
 * All apologies on the tonality of the previously frustrated post…first ever post
   Fingers crossed for tomorrow. If you wish, we can also speak directly when he
   arrives for any questions as we will probably have a back.forth with the hosting
   company.
 *  [Terry Arthur](https://wordpress.org/support/users/terryarthur/)
 * (@terryarthur)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9898037)
 * Just because it is a dedicated server doesn’t mean it has the available resources
   you need to accomplish the import or that it is configured correctly to utilize
   them even if they are available.
 * Have you tried importing just one page? Are you using a Windows server? Once 
   you have a meeting with your developer if you can provide more detailed information
   about the resources available to the server, the site and plugin config, plugins
   installed and activated during the import, screen errors, error logs, steps to
   reproduce the error etc. we will get to the bottom of this much sooner.
 * I will have to politely decline the call but I am happy to help for free via 
   these forums as my schedule permits so that anyone that comes along later with
   a similar issue can benefit from this thread.
 * Let me know how I can help,
 * Terry Arthur
 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9898079)
 * No problem. We’ll post once we begin the process again, hopefully tomorrow (TH).
 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9903757)
 * Increased the memory as suggested as well as the timer. New error
 * Warning: Attempt to assign property of non-object in /home/pagean10/public_html/
   dir/wp-content/plugins/import-html-pages/html-importer.php on line 641
 * Fatal error: Out of memory (allocated 498073600) (tried to allocate 378472553
   bytes) in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/
   html-importer.php on line 257
 *  [Terry Arthur](https://wordpress.org/support/users/terryarthur/)
 * (@terryarthur)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9905354)
 * It’s the same error, you still don’t have enough memory allocated. Unless you
   do what I, or anyone for that matter, ask there isn’t much I can do to help. 
   Here’s the ask again:
 * “Have you tried importing just one page? Are you using a Windows server? Once
   you have a meeting with your developer if you can provide more detailed information
   about the resources available to the server, the site and plugin config, plugins
   installed and activated during the import, screen errors, error logs, steps to
   reproduce the error etc. we will get to the bottom of this much sooner.”
 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9906385)
 * We did increase the memory and max mem… Do you mean increasing more that 1024M?
 * I think it’s a good idea to try only one or a few pages at a time. We’ll try 
   that as well.
 *  Thread Starter [pageantry](https://wordpress.org/support/users/pageantry/)
 * (@pageantry)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9906941)
 * Unfortunately, the one page attempt brought the same error re: memory. The developer
   per se, is my former art director, who has been trying to help us in this conversion,
   who updated the website as needed and it is his reply above. No plugins, except
   HTML Import 2 are activated during the process. It is not a windows server and
   is based on linux redhat. After speaking with IMH, we increased memory from 1024
   to 2048 and the ini time fro 60-100. I’ll post once we get the results.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTML Conversion’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/import-html-pages.svg)
 * [HTML Import 2](https://wordpress.org/plugins/import-html-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-html-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-html-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/import-html-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-html-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-html-pages/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [HTML Import 2](https://wordpress.org/support/topic-tag/html-import-2/)

 * 9 replies
 * 2 participants
 * Last reply from: [pageantry](https://wordpress.org/support/users/pageantry/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/html-conversion/#post-9906941)
 * Status: not resolved