ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
924 stars 218 forks source link

giving me deprecated error #4231

Open Krspies opened 2 years ago

Krspies commented 2 years ago

Update, Problem Resolved-ish - I found that when I deactivated the backup demo content extension the error went away. so that is good but if it's supposed to work why doesn't it?

Hello,

I have an error showing up on my wordpress site from this plugin. I can't seem to find an answer on how to fix it. Please assist. Here is the error I am getting: site_errorunyson_

Deprecated: Required parameter $zip_path follows optional parameter $full in /wp-content/plugins/unyson/framework/extensions/backups/includes/module/tasks/class--fw-ext-backups-module-tasks.php on line 985

here is my environment info:

== Server Environment == Operating System: Linux Software: Apache MySQL version: MariaDB Server v10.3.24 PHP Version: 8.0.17 PHP Max Input Vars: 1000 PHP Max Post Size: 74M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment == Version: 5.8.3 Site URL: https://kspacific.com Home URL: https://kspacific.com WP Multisite: No Max Upload Size: 64 MB Memory limit: 512M Permalink Structure: /%postname%/ Language: en-US Timezone: 0

Debug Mode: Active

== Theme == Name: Instive Child Version: 1.0 Author: Tripples Child Theme: Yes Parent Theme Name: instive Parent Theme Version: 1.0.6 Parent Theme Author: Tripples

= == Active Plugins == Akismet Anti-Spam Version: 4.2.2 Author: Automattic

Client Portal : SuiteDash Direct Login
    Version: 1.7.1
    Author: SuiteDash :: ONE Dashboard®

Contact Form 7
    Version: 5.5.6
    Author: Takayuki Miyoshi

Customizer Export/Import
    Version: 0.9.4
    Author: The Beaver Builder Team

Elementor
    Version: 3.5.5
    Author: Elementor.com

Elementor Pro
    Version: 3.5.0
    Author: Elementor.com

ElementsKit Lite
    Version: 2.5.5
    Author: Wpmet

Everest Forms
    Version: 1.8.6
    Author: WPEverest

Instive Essentials
    Version: 1.3.1
    Author: 

MetForm
    Version: 2.1.3
    Author: Wpmet

Nifty Coming Soon & Maintenance page
    Version: 2.0.0
    Author: WP Concern

Site Kit by Google
    Version: 1.71.0
    Author: Google

Slider Revolution
    Version: 6.5.19
    Author: ThemePunch

Slider Revolution Bubblemorph AddOn
    Version: 3.0.5
    Author: ThemePunch

Slider Revolution Reveal Preloaders
    Version: 3.0.2
    Author: ThemePunch

Slider Revolution Typewriter Effect
    Version: 3.0.5
    Author: ThemePunch

Unyson
    Version: 2.7.26
    Author: ThemeFuse

WP Downgrade | Specific Core Version
    Version: 1.2.5
    Author: Reisetiger

WP Fastest Cache
    Version: 1.0.0
    Author: Emre Vona
onebelarusianguy commented 2 years ago

It occurs because of PHP 8 version, not critical, but definitely should be fixed.

Krspies commented 2 years ago

I rolled back from php8.0 to 7.43 and same error either way

N: Kelly Spies FB: facebook.com/Krspies LI: linkedin.com/in/agent-kellyspies TT: @. W: kspacific.com P: 209-354-4164 _______***_ Auto Home Commercial GL * Workers Comp

CONFIDENTIAL: In accordance with the California Department of Insurance and K.S. Pacific Insurance Agency, Policies, this e-mail communication contains information intended only for the use of the individuals to whom it is addressed and may contain information that is privileged, confidential or exempt from other disclosure under applicable law. If you are not the intended recipient, you are notified that any disclosure, printing, copying, distribution or use of the contents is prohibited. If you have received this in error, please notify the sender immediately by telephone or by returning it by reply email and then permanently deleting the communication from your system.

BINDING NOTIFICATION: K.S. Pacific Insurance does not accept policy change and bind requests via email or fax and the receipt there of does not constitute coverage. Email and fax are not 100% reliable. It's the responsibility of the insured to confirm their agent has received and processes any bind or policy endorsements and change requests.

On Tue, Apr 26, 2022 at 10:28 AM Пашенька @.***> wrote:

It occurs because of PHP 8 version, not critical, but definitely should be fixed.

— Reply to this email directly, view it on GitHub https://github.com/ThemeFuse/Unyson/issues/4231#issuecomment-1110064026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYULR7QFZKIT4F64JW2LXZDVHARTPANCNFSM5S7WWUGA . You are receiving this because you authored the thread.Message ID: @.***>

josipWebbite commented 1 year ago

Hi, I have the same problem when switched PHP from 7.4 to 8.0

PHP Deprecated: Required parameter $zip_path follows optional parameter $full in /hidde_path/public_html/wp-content/plugins/unyson/framework/extensions/backups/includes/module/tasks/class--fw-ext-backups-module-tasks.php on line 985

Any solution for this problem?

onebelarusianguy commented 1 year ago

@Krspies, @josipWebbite you can fix it yourself - make this line look like this: public function do_restore($full, $zip_path, $filesystem_args = array()) {

josipWebbite commented 1 year ago

Hi @Krspies yes I am