Site logo

Archived topic

Site library is not loaded in any device.

31 replies · Started by Aika on August 15, 2021

Viewing posts 16–30 of 32

Hey guys,

Sorry about this again.

Here are the solutions:

1. It will resolve itself within 24 hours of when the issue happened, as the request is cached for 24 hours.

2. Try adding this as a code snippet, and choosing "Only run once". Then delete the snippet:

add_action( 'admin_init', function() {
	delete_option( 'generatepress_sites' );
	delete_option( 'generatepress_sites_expiration' );
} );

Adding PHP: https://docs.generatepress.com/article/adding-php/

Let me know :)

It's fixed. Thanks.

Yes, it’s fixed. Thank you very much.
I just want to make sure if this issue is pretty common and will be solved by itself after 24 hours?

No it's not a common issue.

It won't happen again :)

I have tried everything from disabling mod_security in WHM all together to adding this code snippet. I even destroyed my server and installed Cpanel again and Wordpress again.

Everything default, no changes in WHM or Wordpress, its a fresh install.

No joy! It shows that loading thinggy and nothing happens.

Hi there,

the issue you're having may not be related.
In Dashboard > Tools > Site Health, first check there are no errors being reported and the status is good. Then can you share a screen shot of the Info > Server settings, it may be a simple case the PHP Memory / Times are too low.

Let me know.

Server architecture Linux 3.10.0-1160.31.1.el7.x86_64 x86_64
Web server Apache
PHP version 7.4.22 (Supports 64bit values)
PHP SAPI cgi-fcgi
PHP max input variables 1000
PHP time limit 30
PHP memory limit 40M
PHP memory limit (only for admin screens) 256M
Max input time 60
Upload max filesize 2M
PHP post max size 8M
cURL version 7.78.0 OpenSSL/1.1.1k
Is SUHOSIN installed? No
Is the Imagick library available? No
Are pretty permalinks supported? Yes

Yeah those settings are quite low - heres the minimum i generally run with:

PHP max input variables	4000
PHP time limit	        1200
PHP memory limit	256M ( this is both settings )
Max input time	        600
Upload max filesize	300M
PHP post max size	1000M

I would highly appreciate if you could have a look at the above values and advise what needs changing.

I will try that and let you know. Many thanks for replying.

Let us know how you get on :)

I have tried the settings you provided but it is still not working.

The only thing I do not have according to site health is : imagick

Below is the server info after the changes :

Server architecture Linux 3.10.0-1160.31.1.el7.x86_64 x86_64
Web server Apache
PHP version 8.0.9 (Supports 64bit values)
PHP SAPI cgi-fcgi
PHP max input variables 4000
PHP time limit 1200
PHP memory limit 256M
Max input time 600
Upload max filesize 300M
PHP post max size 1000M
cURL version 7.78.0 OpenSSL/1.1.1k
Is SUHOSIN installed? No
Is the Imagick library available? No
Are pretty permalinks supported? Yes
.htaccess rules Custom rules have been added to your .htaccess file.

I have also installed Imagick now and site health doesn't show anything missing but its still not loading.

Any other suggestions?

That should dismiss and possibility that server couldn't deal with the requests.
Can you right click and inspect the page, when it gets stuck on loading, and check the Developers Tools Console Tab, are there any errors being displayed?

This archived topic is closed to new replies.