• Resolved Nate

    (@goseongguy)


    Hello,

    I have discovered hundred or thousands of logs for the following, beginning December 10th, 2024:

    PHP Warning: Array to string conversion in /home/.../wp-content/plugins/luckywp-table-of-contents/plugin/Shortcode.php on line 287

    I am using PHP 8.3. Is this expected behavior? Is this a bug to be fixed?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Ted

    (@ted86)

    Hi, Nate! Thanks for issue.

    1) Can you show table of contents options?
    2) Can you try new version 2.1.13. Does the problem keeping?

    Hi, I got the same problem (line 287). After rollback to Version 2.1.5 and then update to 2.1.13 again, it now shows the same mistake, but with line 301.

    Can you please report how to fix this problem.

    Thanks

    Peter

    line 301 reads as follows

    $shortcode .= ‘ ‘ . $k . ‘=”‘ . $v . ‘”‘;

    Peter

    Plugin Support Ted

    (@ted86)

    @paganini58 Is there a problem with “2.1.5” version?

    Can you show full stack trace of error (нou can send it by email [email protected])?

    Plugin Support Ted

    (@ted86)

    Seems, this bug is fixed.

    @goseongguy @paganini58 Can you try new version 2.1.14?

    I just installed version 2.1.14 (manually) and – hurray – the bug is fixed and gone.

    Thank you so much for your quick response.

    Peter

    Plugin Support Ted

    (@ted86)

    Great!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘PHP Warning: Array to string conversion’ is closed to new replies.