Pregunta sobre Darwin Backup de Wordpress:

Llamar a la funci贸n no especificada curl_init ()

Un usuario pregunt贸 馃憞

Hola, tengo el siguiente error en uno de mis sitios de WordPress. El servidor admite 5 sitios diferentes y no tengo ning煤n problema con los dem谩s.

驴Me puede ayudar por favor?

Gracias – Richard


Darwin Backup: v1.2.25,
PHP Version: 7.3.3-1+ubuntu16.04.1+deb.sury.org+1,
OS: Linux,
SAPI: apache2handler,
UNPACK: Array
(
    [1] => 1
)
User Level: 10,
WP_ALLOW_MULTISITE: false,
MULTISITE: false,
Error Object
(
    [message:protected] => Call to undefined function curl_init()
    [string:Error:private] => Error: Call to undefined function curl_init() in /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php:179
Stack trace:
#0 /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(159): GmailXOAuth2->request_offline_token()
#1 /wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(475): GmailXOAuth2->getOauth64()
#2 /wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(152): SMTP->authenticate('', '', 'XOAUTH2', '', '', Object(GmailXOAuth2))
#3 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1542): PHPMailerOAuth->smtpConnect(Array)
#4 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1337): PHPMailer->smtpSend('Date: Wed, 20 M...', '<p>Your backup ...')
#5 /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php(1215): PHPMailer->postSend()
#6 /wp-content/plugins/gmail-smtp/main.php(943): PHPMailer->send()
#7 /wp-content/plugins/darwin-backup/AnyWay/Tasks/WordpressMail.php(58): wp_mail(Array, '[*****andscie...', '<p>Your backup ...', Array, Array)
#8 /wp-content/plugins/darwin-backup/AnyWay/QueueManager.php(92): AnyWay_Tasks_WordpressMail->runPartial(1553089334, 1553089353)
#9 /wp-content/plugins/darwin-backup/AnyWay/Runner/Base.php(73): AnyWay_QueueManager->next(1553089334, 1553089353)
#10 /wp-content/plugins/darwin-backup/classes/Page/Create.php(101): AnyWay_Runner_Base->nextStep(1553089334, 1553089353)
#11 /wp-content/plugins/darwin-backup/classes/Page/Base.php(241): AnyWay_Wordpress_Page_Create->next_step_ajax('')
#12 /wp-includes/class-wp-hook.php(286): AnyWay_Wordpress_Page_Base->safe_action('')
#13 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#14 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#15 /wp-admin/admin-ajax.php(167): do_action('wp_ajax_anyway_...')
#16 {main}
    [code:protected] => 0
    [file:protected] => /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php
    [line:protected] => 179
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php
                    [line] => 159
                    [function] => request_offline_token
                    [class] => GmailXOAuth2
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php
                    [line] => 475
                    [function] => getOauth64
                    [class] => GmailXOAuth2
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/class.phpmaileroauth.php
                    [line] => 152
                    [function] => authenticate
                    [class] => SMTP
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => 
                            [2] => XOAUTH2
                            [3] => 
                            [4] => 
                            [5] => GmailXOAuth2 Object
                                (
                                    [oauthUserEmail:GmailXOAuth2:private] => [email protected]
                                    [oauthRefreshToken:GmailXOAuth2:private] => 1/MVO792gtwc9QpzybibYijG6XTMfrLOqbuC4EnBbJlSs
                                    [oauthClientId:GmailXOAuth2:private] => 431011582919-nts3mivg07afdvt19uj1f0h5qo9bs43g.apps.googleusercontent.com
                                    [oauthClientSecret:GmailXOAuth2:private] => oNduzuxlhIaStmGv5bGO70DF
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php
                    [line] => 1542
                    [function] => smtpConnect
                    [class] => PHPMailerOAuth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php
                    [line] => 1337
                    [function] => smtpSend
                    [class] => PHPMailer
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Date: Wed, 20 Mar 2019 13:42:10 +0000
To: [email protected]
From: Scientific and Medical Network <[email protected]>
Subject: [*****andscientists.org] manual backup is ready
Message-ID: <[email protected]*****andscientists.org>
X-Mailer: PHPMailer 5.2.26 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8

                            [1] => <p>Your backup is located here:</p>
<p>
    <a href="https://*****andscientists.org/wp-content/darwin-backup/restore.php?rid=5c9242ec93b504.47754565">https://*****andscientists.org/wp-content/darwin-backup/restore.php?rid=5c9242ec93b504.47754565</a>
</p>

                        )

                )

            [5] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/PHPMailer/class.phpmailer.php
                    [line] => 1215
                    [function] => postSend
                    [class] => PHPMailer
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /wp-content/plugins/gmail-smtp/main.php
                    [line] => 943
                    [function] => send
                    [class] => PHPMailer
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /wp-content/plugins/darwin-backup/AnyWay/Tasks/WordpressMail.php
                    [line] => 58
                    [function] => wp_mail
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => [email protected]
                                )

                            [1] => [*****andscientists.org] manual backup is ready
                            [2] => <p>Your backup is located here:</p>
<p>
    <a href="https://*****andscientists.org/wp-content/darwin-backup/restore.php?rid=5c9242ec93b504.47754565">https://*****andscientists.org/wp-content/darwin-backup/restore.php?rid=5c9242ec93b504.47754565</a>
</p>

                            [3] => Array
                                (
                                )

                            [4] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /wp-content/plugins/darwin-backup/AnyWay/QueueManager.php
                    [line] => 92
                    [function] => runPartial
                    [class] => AnyWay_Tasks_WordpressMail
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1553089334
                            [1] => 1553089353
                        )

                )

            [9] => Array
                (
                    [file] => /wp-content/plugins/darwin-backup/AnyWay/Runner/Base.php
                    [line] => 73
                    [function] => next
                    [class] => AnyWay_QueueManager
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1553089334
                            [1] => 1553089353
                        )

                )

            [10] => Array
                (
                    [file] => /wp-content/plugins/darwin-backup/classes/Page/Create.php
                    [line] => 101
                    [function] => nextStep
                    [class] => AnyWay_Runner_Base
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1553089334
                            [1] => 1553089353
                        )

                )

            [11] => Array
                (
                    [file] => /wp-content/plugins/darwin-backup/classes/Page/Base.php
                    [line] => 241
                    [function] => next_step_ajax
                    [class] => AnyWay_Wordpress_Page_Create
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [12] => Array
                (
                    [file] => /wp-includes/class-wp-hook.php
                    [line] => 286
                    [function] => safe_action
                    [class] => AnyWay_Wordpress_Page_Base
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [13] => Array
                (
                    [file] => /wp-includes/class-wp-hook.php
                    [line] => 310
                    [function] => apply_filters
                    [class] => WP_Hook
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [14] => Array
                (
                    [file] => /wp-includes/plugin.php
                    [line] => 465
                    [function] => do_action
                    [class] => WP_Hook
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [15] => Array
                (
                    [file] => /wp-admin/admin-ajax.php
                    [line] => 167
                    [function] => do_action
                    [args] => Array
                        (
                            [0] => wp_ajax_anyway_next_step_ajax
                        )

                )

        )

    [previous:Error:private] => 
)
        

(@aguidrevitch)

Hace 1 a帽o, 11 meses

Hola,

la biblioteca curl parece faltar / no est谩 instalada

WBR, Alex

驴Solucion贸 tu problema??

0 / 0

Deja una respuesta 0

Tu direcci贸n de correo electr贸nico no ser谩 publicada. Los campos obligatorios est谩n marcados con *