Preview not loading due to iframe response

Hello,

I’m getting this message popping up in the preview here https://snowwatch.org/pro2/layouts/3545 and I’m not entirely sure why…

Debug log:

[05-Oct-2021 00:07:14 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 00:16:51 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: control_accordion_header_indicator in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/accordion.php on line 427
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 204
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 212
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 00:23:23 UTC] PHP Notice:  Undefined variable: control_widget_area_bg_color in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/widget-area.php on line 119
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: control_accordion_header_indicator in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/accordion.php on line 427
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 204
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 212
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 00:25:09 UTC] PHP Notice:  Undefined variable: control_widget_area_bg_color in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/widget-area.php on line 119
[05-Oct-2021 08:43:29 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 10:12:04 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'seedprod_pro_new_lpage' not found or invalid function name in /home/snowwatc/snowwatchORG/wp-includes/class-wp-hook.php on line 303
[05-Oct-2021 12:39:45 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 12:50:53 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 12:57:01 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 14:29:26 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 14:29:43 UTC] PHP Notice:  Undefined variable: comment_tag in /home/snowwatc/snowwatchORG/wp-content/plugins/last-updated-shortcode/last-updated-shortcode.php on line 66
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: control_accordion_header_indicator in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/accordion.php on line 427
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 204
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_alert_close_offset in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/alert.php on line 212
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_value_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 145
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 153
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: options_rating_scale_content in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161
[05-Oct-2021 14:43:49 UTC] PHP Notice:  Undefined variable: control_widget_area_bg_color in /home/snowwatc/snowwatchORG/wp-content/themes/pro/cornerstone/includes/elements/definitions/widget-area.php on line 119

Hi Daniel,

Thank you for writing in, that seems to be a plugin conflict, please do a 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.

Thanks,

Ok, so I’ve done what you have suggested. Now, I’m not seeing the preview or layout archive at all. I didn’t do a thing to kick all this off it just happened randomly… I was coming to the end of development too so this is very frustrating.

Working fine (Advisory single)

Not working in preview or frontend:

it seems like when I set the /blog permalink to /blog/%postname%/ and then also have a post type called advisory I needed to set this setting to false. Does that sound right? Advisory templates are designed in Layout :thinking:

I have no idea…

Disabled all plugins… still happening. Can you take a look? Details are in the secure note.

Hi Daniel,

You need to set the preview to your Advisory post type to see the layout. I went ahead and set it for you.

Hope that helps.

Hello @marc_a

I’ve never had to set that before when going into that layout, plus I was getting 2 or 3 different errors but it came and quickly as it went. Random. Ah well, at least it’s working now.

Hi Daniel,

We’re glad that it is now working properly on your end! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

Hello again, still getting the iframe message but this time on /status

As mentioned in the original post I’m getting a lot of Undefined variable messages in the debug log.

Hi Daniel,

Regarding that status page, it seems the issue is coming from your Global Block (Latest News).

Regarding the PHP Notice:, try to deactivate and reactivate the PRO theme. If that does not work, try to reinstall it.

Thanks,

Regarding that status page, it seems the issue is coming from your Global Block ( Latest News ).

Ok, I have the Global Block Latest News embedded in the status page. This is because I need to be able to update the Global Block and have it timestamped independently from the status page. I’m using the plugin Last Updated which might be causing it? Although when I disabled it yesterday I didn’t notice any improvement. Perhaps I could ditch the plugin and use your modified date and time? I’d only be able to do that if it updates ONLY for the global block and not the status page. Notice the ID in the shortcode:

I’m not able to see the problem with Latest News myself… could you take a look?

UPDATE: I have disabled Last Updated Shortcode and used {{dc:post:modified_date post="1802" format="D jS M Y"}} at {{dc:post:modified_time post="1802" format="H:i"}} which has worked perfectly. No errors on backend of Status page now. I guess it was the plugin after all.

Regarding the PHP Notice: , try to deactivate and reactivate the PRO theme. If that does not work, try to reinstall it.

I’ll look into this and get in touch later.

Hi Daniel,

Glad that it works fine for you. Please let us know on other PHP Notice if that still exists after the process described by my colleague.

Thanks

Unfortunately, I have to report that restalling the theme did not get rid of the PHP Notice.

Also, I’m still getting the ifrane response error on the status page. I have looked at global blocks and the status page in detail and cannot find anything wrong…

Hi Daniel,

I’ve just check your status page, and I cant replicate that issue anymore. Can you try it in incognito/private mode of your browser where no caching and browser extension involve.

Thanks,

That’s strange it’s working for you. No luck on my end still…

Hi Daniel,

Can you try a different browser or computer?

Thanks,

Hi @friech,

I have tried on my macbook with Safari (I normally use mac mini with Chrome). Still getting the same message.

Hey Daniel,

The issue happens because of the Global Blocks element. The setup that will work for your site is the Global Blocks shortcode inserted into a Text element.

Hope that helps.

Oh ok! Whats the reason I can’t use the Global Block element? Bug? If so, will it be fixed?