Category Archives: Safari

HOW TO debug Javascript in Safari 3.1 on Windows


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method adsensem::filter_ads() should not be called statically in /home/tricks70/public_html/wp-includes/class-wp-hook.php on line 286

Strict Standards: Non-static method adsensem::filter_ad_callback() should not be called statically in /home/tricks70/public_html/wp-content/plugins/adsense-manager/adsense-manager.php on line 198

Strict Standards: Non-static method adsensem::filter_ad_callback() should not be called statically in /home/tricks70/public_html/wp-content/plugins/adsense-manager/adsense-manager.php on line 201

If you are targeting your web application for Safari users and also want to make sure your JavaScript code is cross-browser, how can you check for any JavaScript errors on that browser?

It can be done by activating the Develop menu (which is disabled by default) and picking the Show Error Console option (similar to Tools menu > Error Console option in Firefox).

Continue reading HOW TO debug Javascript in Safari 3.1 on Windows