Skip Navigation

[Resolved] FrontPage Slider and single post page not loading in iOS safari on iPhone/iPad

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#591756
IMG_0127.png

I am trying to:

Link to a page where the issue can be seen: hidden link, hidden link

I expected to see:

Instead, I got: The hero slider view is not loading and the whole single post page not loading

#591914

Dear Ahmed,

The problem you mentioned above is abnormal, it might be a CSS problem or compatibility problem, please try these:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) Enable PHP debug mode, copy and paste the debug logs here
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).
https://toolset.com/documentation/user-guides/debugging-types-and-views/

#592653
Screen Shot 2017-11-23 at 2.01.24 PM.png
Screen Shot 2017-11-23 at 2.02.32 PM.png
Screen Shot 2017-11-23 at 2.03.13 PM.png

Hello Luo,

I did exactly what you advised as the problem still there.
all that came after the recent updates to the toolset components and wordpress 4.9
when I opened the page on desktop using firefox I discovered js errors, I'm attaching their screens.
I'm going to try re-uploading my offline version before the recent updates and see if it's a glitch.

#592657

[23-Nov-2017 18:39:53 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:40:03 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:40:04 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:44:48 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1322
[23-Nov-2017 18:44:49 UTC] PHP Warning: array_merge(): Argument #1 is not an array in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1159
[23-Nov-2017 18:44:49 UTC] PHP Warning: array_diff(): Argument #2 is not an array in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1160
[23-Nov-2017 18:44:49 UTC] PHP Warning: Invalid argument supplied for foreach() in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1162
[23-Nov-2017 18:44:49 UTC] PHP Warning: array_merge(): Argument #1 is not an array in /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php on line 1170
[23-Nov-2017 18:44:49 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:44:49 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /homepages/44/d694986083/htdocs/sites/lylatk/wp-includes/widgets.php:1322) in /homepages/44/d694986083/htdocs/sites/lylatk/wp-admin/includes/misc.php on line 1114
[23-Nov-2017 18:45:26 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count
[23-Nov-2017 18:45:27 UTC] WordPress database error Table 'db695435920.7X_comments' doesn't exist for query
SELECT comment_approved, COUNT( * ) AS total
FROM 7X_comments

GROUP BY comment_approved
made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, get_comment_count

#592676

In the PHP debug logs, there are lots errors in your website, for example:
WordPress database error Table 'db695435920.7X_comments' doesn't exist ...
PHP Warning: Invalid argument supplied for foreach() in

I suggest you try to fix the database problem first, you might need to restore your database to the original backup.
And I suggest you follow our document to migrate your website:
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/

#593609

I uploaded 2 different tries on 2 links:
hidden link
hidden link

and the single pages that one is loading and the other is not on ipad and iphone as follows:
hidden link
hidden link

#593610

Now no errors appearing on the inspector

#593777
ipad.JPG

Since I don't have an IPAD device, so I tested the URLs you mentioned above in my Chrome browser, and switch to Ipad device width, it works fine, see screenshot ipad.JPG, so I can not see the problem you mentioned above:
The hero slider view is not loading and the whole single post page not loading

And I checked the HTML source codes of your website, you are using a custom theme "7X-Lylatk", it seems to be a child theme of "Toolset Starter" theme, in case it is a compatibility problem, please switch to original "Toolset Starter" theme and eactivate other plugins, and test again.

If the problem still persists, please follow our document to provide a copy of your website:
https://toolset.com/faq/provide-supporters-copy-site/

And it is a device problem, it might take time to debug.

#594928
Screen Shot 2017-11-30 at 11.17.45 PM.png
Screen Shot 2017-11-30 at 11.17.58 PM.png

I discovered why it seems not working as there is an error appearing on the console. I have to datepicker on the page

#594966

If you can make sure it is not a compatibility problem with other plugins and your custom theme, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.