Make WordPress Core

Opened 4 years ago

Closed 2 years ago

#52074 closed defect (bug) (reported-upstream)

RSS Importer: Fatal error, call to undefined function `set_magic_quotes_runtime()`

Reported by: iandunn's profile iandunn Owned by:
Milestone: Priority: normal
Severity: blocker Version:
Component: Import Keywords:
Focuses: Cc:

Description

set_magic_quotes_runtime() was removed in PHP7. A quick search only turns up a handful of mentions], even though PHP7 has been the majority of installs for awhile, so usage of this importer may be very low.

Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in plugins/rss-importer/rss-importer.php:72 

Stack trace: 
#0 plugins/rss-importer/rss-importer.php(178): RSS_Import->get_posts() 
#1 plugins/rss-importer/rss-importer.php(204): RSS_Import->import() 
#2 wp-admin/admin.php(353): RSS_Import->dispatch() 
#3 {main} thrown in plugins/rss-importer/rss-importer.php on line 72

There's a report in #2626-plugins, but IIRC that's been shut down, and this has always been the correct place for reports.

Change History (6)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Import
  • Milestone changed from Awaiting Review to WordPress.org

#2 @SergeyBiryukov
3 years ago

#53376 was marked as a duplicate.

#4 @habakuk
3 years ago

Why is this trivial bug still not fixed?

#5 @exprez135
2 years ago

Hello, the pull request created by @0xcrypto works wonderfully for mitigating this issue and is what I've had to manually do for each new WordPress site I've used the importer for. Is there some way to have it pushed as a new 0.3 version? As it is, the importer is basically broken from the start. Or perhaps there is some cause for waiting on a fix, if other features/improvements are going to be added?

#6 @dd32
2 years ago

  • Milestone WordPress.org deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This has now been fixed in the upstream Importer, but is pending code cleanup and release of a new plugin version.

Closing this as reported-upstream as it was reported & fixed in the above repo.

Note: See TracTickets for help on using tickets.