- This topic has 15 replies, 2 voices, and was last updated 5 years ago by Tom.
September 23, 2016 at 6:23 am #228888Tobias
so I have this problem with customizing my page when GP-Premium is activated. I have tried deactivating all my other plugins – it has nothing to do with that. I also narrowed the problem down to the features “Background” and “Copyright”. Whenever one of the two is activated, customizing wont work and i only get a white screen instead of the options. The other add ons like “Colors” work fine. However I had the same problem with different add ons before.
Thanks in advance. 🙂September 23, 2016 at 9:21 am #228924TomLead DeveloperLead Developer
Hmm, that’s odd.
As a first guess, I would up your PHP memory limit: https://generatepress.com/knowledgebase/increasing-memory-limit/
Let me know if that works or not 🙂September 24, 2016 at 3:50 am #229061Tobias
I just checked that – the limit is set to 256MB and only 35MB are used right now so i don’t think that is the problem :SSeptember 24, 2016 at 7:55 am #229096TomLead DeveloperLead Developer
Guess #2 would be you have a conflicting plugin. Try #1 on this page: https://generatepress.com/knowledgebase/debugging/
If that doesn’t work, check your error_log file on your server for any hints.September 24, 2016 at 8:37 am #229103Tobias
I’ve tried this on a page where the only plugin installed is GP Premium – the issue does still exist. :s
I can sometimes get “Backgrounds” to work by randomly activating/deactivating other features. However I can only customize my page once then. When I try to access “customize” again it shows me the white screen again. It’s just really odd.
I will try WP Debug and checking the error_log next. Let’s see if any of that works 😮September 24, 2016 at 6:58 pm #229185TomLead DeveloperLead Developer
White screen can mean a couple things:
1. Ran out of PHP memory. The fact that it works when you disable some add-ons/plugins points to this. Less things running = less memory usage. It might be worth upping the value even more just to test.
2. PHP error – this would be caused by another plugin and would show up in the error_log file.September 25, 2016 at 8:06 am #229288Tobias
Okay so I turned on WP_Debug and got this error message: Strict Standards: Redefining already defined constructor for class wp_memory_usage in / ….. on line 39
When I saw this I thought maybe it is an issue with the php memory. So I checked the php memory again – it is set to 256mb but turns out WordPress was only able to use 40mb. I thought I finally found the problem, set the limit to 128mb using define(‘WP_MEMORY_LIMIT’, ‘128M’);
However the problem still occurs. I have no idea what to do at this point. :/September 25, 2016 at 8:26 am #229293TomLead DeveloperLead Developer
You may have to set it in your php.ini file. If you call your hosting they should be able to point you in the right direction.September 26, 2016 at 6:24 am #229539Tobias
The memory is set to 128MB for WordPress – that’s unfortunately not the problem.
Could it have anything to do with the browser, cache or cookies?September 26, 2016 at 8:38 am #229570TomLead DeveloperLead Developer
It could do, but I’m still leaning towards PHP memory. The amount the page is reporting could be false, so that number might need increasing regardless of what the numbers are reporting.
The fact that turning on certain functionality fixes it points to PHP memory and not much else.September 27, 2016 at 2:21 pm #229925Tobias
I don’t have access to the php.ini file. However in .htaccess it says „php_value memory_limit 256M“ and in wp_config.php I set the limit to 256MB with “define(‚WP_MEMORY_LIMIT‘, ‚256M‘);” – that didn’t fix it.
I also tried two different plugins, which show the available and used memory. They both showed me that the WP limit is set to what i set it.
So unfortunately I don’t think that php memory is the problem. 😮
Would it help if i gave you some sort of guest access to the page so you could take a look at the problem yourself?September 27, 2016 at 11:11 pm #229992TomLead DeveloperLead DeveloperSeptember 28, 2016 at 6:21 am #230071Tobias
Sorry but where exactly can i find that contact formula? 😀September 28, 2016 at 9:07 am #230113TomLead DeveloperLead Developer
Sorry, here you go: https://generatepress.com/contact/
Looking into this a bit more, the error you received above, did it happen with this plugin installed?: WP-Memory-Usage
If so, that’s a super old plugin – I would deactivate it.
In your wp-config.php file, did you add the line looking exactly like you wrote it above?:
If so, it should look like this:
It’s possible that this isn’t working because the value in your php.ini file is overwriting these values.
If that’s the case, you’ll need to contact your server and ask them to up the limit.September 28, 2016 at 12:00 pm #230140Tobias
Yeah I deleted that plugin after I found a better one anyways.
Sorry i mistyped above. I checked the FTP and the code is right.
I sent you a message with the required data. I hope you can find whatever causes the problem 🙂
- You must be logged in to reply to this topic.