Skip to content

Conflict with WordPress 6.1 (wp_rand() bug on 32-bit platforms) #974

@donnchawp

Description

@donnchawp

Description of Problem

I haven't had time to look into the source of your plugin but there's something in it that causes a problem when I load the front page (or archive links such as category pages) of my blogs after upgrading to WordPress 6.1. The page continues to load, and shows a blank page until it times out.

A not too useful error appears in the error log:
PHP Fatal error: Maximum execution time of 30 seconds exceeded in [path]/htdocs/wp-includes/pluggable.php on line 2662

When I deactivated Simple Lightbox the problem went away. I deactivated other plugins first but the error continued until I tried yours.

Details

  • URL of Page exhibiting problem: https://odd.blog/
  • Browser(s) exhibiting problem (Firefox, Chrome, etc.): Firefox
  • Version of SLB Installed: 2.9.2
  • Other plugins installed: Ten other active ones, but I disabled almost all of them before finding that disabling Simple Lightbox stopped the problem happening.

Screenshot 2022-11-03 at 12-12-59 Reading Settings ‹ Something Odd! — WordPress

The issue was only occurring on the homepage and archive pages. Single posts appeared fine. The plugin is now deactivated, so the URL above doesn't show the problem any more.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions