Title: Code crash PHP 7.4
Last modified: July 11, 2022

---

# Code crash PHP 7.4

 *  Anonymous User
 * (@anonymized-20115841)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/)
 * if ($_POST[‘post_category’])
    { $post_categories = $_POST[‘post_category’]; $
   args[‘category__in’] = $post_categories ; }

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

 *  Plugin Author [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15816623)
 * PHP 7.4 starts issuing error ‘warnings’ if a variable doesn’t exist and you use
   a statement like your example. Code still works, though, although the error warnings
   are in your error.log file.
 * I haven’t updated that plugin for a while. Instead, for my use case, I just built
   a bare-bones template based on my theme. So I am not surprised that there are
   issues. Probably even more in PHP 8+.
 * I might try to update the plugin for PHP 8.x, which will take care of those errors.
   But I have no ETA, due to other projects that have a bit more demand (I’m a one-
   person shop). If I do find time, it may take at least a month to squeeze it into
   my schedule.
 * Your issue has made me more aware of the need to update the plugin for PHP 8,
   though.
 *  Thread Starter Anonymous User
 * (@anonymized-20115841)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15818749)
 * Hi, good choice to repair in case of php 8.
    And please give the plugin the possibility
   to choose wich post or page to convert!
 *  Plugin Author [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15819490)
 * Actually, you motivated me to work on the upgrade. Currently testing now.
 * As for choosing which post to convert, you can do that by assigning the desired
   posts a unique category, then selecting that category on the Settings page.
 * The update should be finished by the end of the week; possibly sooner. Takes 
   a while to test.
 *  Plugin Author [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15829940)
 * Just doing some final testing on the upgrade. But had a sudden thought – would
   an option to include comments on each post in the output be useful? Or not useful?
 * Any other new features that you think would be useful?
 * Thanks…Rick…
 *  Thread Starter Anonymous User
 * (@anonymized-20115841)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15830729)
 * Comments are superfluous.
    The main target is to export a site ore a page to 
   html, not depending on categories! please make is so, the i can choose the page
   or site!
 *  Thread Starter Anonymous User
 * (@anonymized-20115841)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15835700)
 * Hey, do you have news?
 *  Thread Starter Anonymous User
 * (@anonymized-20115841)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15901492)
 * Hey, working on it?
 *  Plugin Author [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15902049)
 * Still in progress. Other projects keep getting in the way. Thanks.
 * (On my site, I just created a new template with only output of headers and content.
   Used a copy of the page.php file in your theme. Doesn’t have all the options –
   you would have to hard code the query you need, but works well.)
 *  Thread Starter Anonymous User
 * (@anonymized-20115841)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15902205)
 * Kind of Landing-Page – Template?
 *  Plugin Author [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * (@rhellewellgmailcom)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15902259)
 * I use the basic blog page template (usually page.php, but depends on the theme),
   and modify that to strip out all CSS classes and header/sidebar/footer. The result
   is just the post heading and content, for all of the posts.
 * The query I use sorts by oldest first. You could modify that query to select 
   certain categories or date ranges … which is basically what this plugin does.
   The settings are used to build the query, then the ‘plain’ page is generated.

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

The topic ‘Code crash PHP 7.4’ is closed to new replies.

 * ![](https://ps.w.org/blog-to-html/assets/icon-256x256.png?rev=1736720)
 * [Blog To HTML](https://wordpress.org/plugins/blog-to-html/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blog-to-html/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blog-to-html/)
 * [Active Topics](https://wordpress.org/support/plugin/blog-to-html/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blog-to-html/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blog-to-html/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Rick Hellewell](https://wordpress.org/support/users/rhellewellgmailcom/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/code-crash-php-7-4/#post-15902259)