PHP 7.3?

Open
#83 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php, wordpress
Domain
backend, databases

Research direction

Start by inspecting inc/class-mysqldump.php at line 514 and reproducing the database backup under PHP 7.3 with the wp_posts table. Determine why the backup exhausts memory, then verify that the backup completes without the reported fatal error.

Written by the indexing model from the issue text.

Description

need: tests

After upgrading to PHP 7.3, I am now consistently getting the following error:

[13-Jan-2019 08:45:03] Backup database table "wp_posts" with "16391" records [13-Jan-2019 13:45:04 America/New_York] PHP Fatal error: Allowed memory size of 65011712 bytes exhausted (tried to allocate 258048 bytes) in /srv/www/site.test/current/web/app/plugins/backwpup/inc/class-mysqldump.php on line 514 [13-Jan-2019 08:45:04] ERROR: Allowed memory size of 65011712 bytes exhausted (tried to allocate 258048 bytes)

Dominant language
PHP
Stars
95
Forks
46
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wp-media/backwpup

All issues in wp-media/backwpup

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.