A
A
arlslan2018-02-20 18:48:06
PHP
arlslan, 2018-02-20 18:48:06

How to fix the error when autoposting Social Auto Poster 2.6.5?

Hello.
Perhaps someone encountered an error during autoposting
Warning: sprintf(): Too few arguments in......./framework/version-check.php on line 154 Installed the
Social Auto Poster 2.6.5 plugin, configured it, connected it. authorization occurs, but when added to the autoposting plan, it gives the above error.
here is the code it refers to

public function update_notice() {
        if( isset( $_GET['_wpnonce'] )) return;
        $this->notices['_update'] = array(
            'message' => sprintf('
                    <p>There is a new version of %1$s Theme available.</p>
                    <p class="submit"><a href="' . admin_url( 'update-core.php?force-check=1&theme_force_check=1' ) . '" class="button-primary">Update now</a> <a class="button-secondary skip" href="' . esc_url( wp_nonce_url( add_query_arg( 'et-hide-notice', 'update' ), 'etheme_hide_notices_nonce', '_et_notice_nonce' ) ). '">Dismiss</a></p>
                ',
                ETHEME_THEME_NAME
            )
        );
    }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question