Cornerstone is not loading content on my clients about-page.
I’ve tried both chrome and safari with the same problem persisting, and I’ve also disabled third party plugins with no effect.
The page affected: www.normisjonost.no/om-oss
Cornerstone is not loading content on my clients about-page.
I’ve tried both chrome and safari with the same problem persisting, and I’ve also disabled third party plugins with no effect.
The page affected: www.normisjonost.no/om-oss
Hi There,
Thanks for writing in! Could you please try increasing your WP Memory limit by adding the following code into your wp-config.php file at the root of your WordPress installation.
define( 'WP_MEMORY_LIMIT', '512M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
You can add it before the following line:
/* That's all, stop editing! Happy blogging. */
If that doesn’t help, enable your WP_DEBUG mode in your wp-config.php. Simply locate the following code.
define('WP_DEBUG', false);
Change it as follows.
define('WP_DEBUG', true);
Let us know how it goes.
Thanks!
Thanks for your quick reply!
I tried both, but the only effect seems to be that these two lines appeared after enabling WP_DEBUG mode, and now appears on every page. Does that say anything important?
Notice: Use of undefined constant ‘wp_image_editors’ - assumed ‘‘wp_image_editors’’ in /home/3/n/normisjonost/www/wp-content/themes/x-child/functions.php on line 21
Notice: Use of undefined constant ‘change_graphic_lib’ - assumed ‘‘change_graphic_lib’’ in /home/3/n/normisjonost/www/wp-content/themes/x-child/functions.php on line 21
Please try the following solutions.
Ensure everything is up to date.
If you’re using a caching plugin, clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.
If you’re using a CDN, please clear the CDN’s cache and disable optimization services.
Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing 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.
Remove custom CSS, Javascript and templates.
Reset your htaccess file by renaming it to .htaccess-bak
. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.
It is important that you try them all if applicable. If nothing helps, please give us FTP access also.
Thanks.
Thanks!
Tried everything applicable, but unfortunately with no luck so far.
Added FTP-access as a secure note above.
Would you mind removing the code in your Global JS? HTML is not allowed in there and it will cause an error.
You also have custom functions in functions.php. Please remove them as well for troubleshooting purposes.
Thanks.
Of course!
Everything removed now.
Cornerstone loads on my end now.
I removed this code in your functions.php
add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );
function change_graphic_lib($array) {
return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ );
}
You’re using pretty quotes ‘
in that code. I’m not sure if that is causing the issue. Try changing it with regular single quotes. If that does not help, please hire a developer to make that code work with Cornerstone.
Thanks.
Sorry, But you are on the front page, that one’s always been working. I still can’t use the editor on /om-oss (the about page). Can you access that page in the editor?
Hi There,
On that page om-oss you have 3 faulty classic custom headline elements, with a content of:
<a href="#om-oss"; style="color:#fff;">Om oss</a>
<a href="#kontakt-oss"; style="color:#fff;">Kontakt oss</a>
<a href="#ansatte"; style="color:#fff;">Ansatte</a>
Please remove those semicolon [ ;
] right after the href="#"
properties. Save the page then refresh.
View the page in Skeleton mode, so you can inspect those classic custom headline elements.
Hope it helps,
Cheers!
Great!
That worked. Thank you very much!
You’re most welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.