From update to Update going from no problems to problems

I posted a question about PRO theme not opening the wordpress edidtor anymore.
I didn’t touch the website, just i did update for last version of PRO.

I cannot add any post or page.

Hi There @tarekr

Thanks for writing in and I’m sorry to hear that you’re having this issue. Usually, most possible causes are due to caching or plugin conflicts. Also I would suggest you to check your PHP version and memory limit. Could you please try following our general troubleshooting guidelines below and see if you can isolate the issue.

  1. Ensure everything is up to date according to our version compatibility list here. Please follow the best practices when updating your theme and plugins. Click here for more information.
  2. Test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
  3. Make sure that you’re running at least PHP v5.6.x or later to avoid any WordPress related incompatibility issues. If you’re not sure what your server configurations and settings are, install a plugin like WP-Serverinfo (https://wordpress.org/plugins/wp-serverinfo/) and check your server info by head over to Dashboard -> WP Serverinfo area.
  4. Try increasing your PHP Memory limit by following our guide here (https://theme.co/apex/forum/t/troubleshooting-increasing-php-memory-limit/16935).

Make sure to clear full cache before testing (https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/).

If you still have problems kindly get back to us with the result of the steps above and your WordPress login credentials along with your FTP credentials of your server using the Secure Note functionality of the post to follow up the case.

Let us know how it goes.
Thank you.

1 Like

hi.
I solved it.
This code was causing the problem.
function add_defer_to_cf7( $url )
{
//If not js file OR js file with ‘particles.js’ OR ‘jquery.js’ name string, then no need to apply defer
if(FALSE === strpos( $url, ‘.js’) || ((strpos( $url, ‘particles.js’) > 0) || (strpos($url, ‘jquery.js’) > 0))){
return $url;
}
else{
//set defer for .js files
return “$url’ defer='defer”;
}
}

Can I exclude the Wp-admin from it?

Would you please help in this topic.

I gave the problem on the posts not on the pages

thx

I’m sorry but we can’t help with custom development as already explained in the thread.

OK. As you want!

If you need anything else we can help you with, don’t hesitate to open another thread.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.