• Resolved Brent Wilson

    (@bwbama)


    Only the first byte will be assigned to the string offset

    wp-includes/class.wp-scripts.php:492
    WP_Scripts->localize()
    wp-includes/functions.wp-scripts.php:221
    wp_localize_script()
    wp-content/plugins/post-smtp/Postman/PostmanViewController.php:173
    PostmanViewController->registerStylesAndScripts()
    wp-includes/class-wp-hook.php:287
    do_action('admin_init')
    wp-admin/admin.php:175
    • This topic was modified 4 years, 3 months ago by Brent Wilson.
    • This topic was modified 4 years, 3 months ago by Brent Wilson.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Just wanted to chime in – experiencing the same error when activating Post SMTP in a PHP 8.0.0 enviroment:

    Warning: Only the first byte will be assigned to the string offset in /home/oldrupdk/oldrup.net/wp-includes/class.wp-scripts.php on line 492

    Will be happy to test an update.

    Kind regards
    Bjarne

    Hi @bwbama and @oldrup,

    I will share this with the developer for consideration on a future release.

    Please do remember that PHP8 for WordPress is beta only.

    Kind Regards,
    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with PHP 8’ is closed to new replies.