Nazar78
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack 4.3 blankHello Jeremy,
There’s no red http error lines on the Network tab, all loaded fine.
The “Console” tab is just below:
Chrome 53.0.2785.116:
JQMIGRATE: Migrate is installed, version 1.4.1
XHR finished loading: GET “https://public-api.wordpress.com/rest/v1.1/notifications/?http_envelope=1&f…%2Ctype%2Cunread%2Cbody%2Csubject%2Ctimestamp%2Cmeta%2Cnote_hash&number=10”.IE11:
DOM7011: The code on this page disabled back and forward caching. For more information, see: https://go.microsoft.com/fwlink/?LinkID=291337
admin.php
HTML1300: Navigation occurred.
admin.php
JQMIGRATE: Migrate is installed, version 1.4.1Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Jetpack 4.3 blankI’ve already updated to 4.3.1, still same blank Jetpack admin page. However when navigating through the “Plugins->Installed Plugins” I could see the settings page.
Hello Jeremy Herve,
Sorry for the late reply. Deactivating all plugins including my custom js files doesn’t seems to solve the issue.
Guess what? I installed WP 4.4.2 from scratch and with no other plugins except Jetpack (only Extra Sidebar Widgets + Tiled Galleries modules enabled), the issue is still there on all 2014, 2015 and 2016 themes for widget Tiles, Square Tiles, Circles and Slideshow.
You can see it here:
https://test.teanazar.com/2016/02/06/hello-world/#commentsBut then I spotted why the error occurred. It occurs when in the theme widgets, if you choose “Link To: Carousel” this despite the ?Carousel module is enabled or not. If I chose “Attachment Page” or “Media File”, the error will not be there but then the “Link To: Carousel” is broken for all widget Tiles, Square Tiles, Circles.
See the screenshot here:
https://dl.dropbox.com/s/gjdax599mi8tskm/jetpack-gallery-widget.pngTry these URLs instead, I’ve removed the Entireweb advert on this page:
Erroneous hashtag, the right Gallery widget doesn’t load:
https://teanazar.com/2014/08/hello-world/#commentsNo hashtag, the right Gallery widget loads successfully:
https://teanazar.com/2014/08/hello-world/Here’s my URL:
https://teanazar.com/wdmycloud/#comments
Note if I remove the #comments hashtag, everything is ok.
I placed back my quick fix “after” noticing the error, but now reverted to the original v3.9.1 just to show you the error. Screenshot of debugger here:
https://dl.dropboxusercontent.com/s/30detb0pffso0no/jetpack-carousel.js.jpg
Hi Jeremy,
It was fixed in the next release but the issue is still there for the latest v3.9.1 think due to revert done https://github.com/Automattic/jetpack/pull/3250
I’m using the 2014 theme, could this be related? Any links with bookmark hashtag e.g. /comment-page-13/#comment-479 or /comment-page-12/#comments will raise this error preventing the JetPack photo widget not loading.
Forum: Plugins
In reply to: [Harrys Gravatar Cache] MySQL insert error on 1st activationI meant I inserted the missing $is_writeable.
Forum: Plugins
In reply to: [Harrys Gravatar Cache] MySQL insert error on 1st activationHi Harry Milatz,
There’s some coding errors but it’s due to this form “`”:
<code>{$table}</code>
and I’ve replaced them in your latest code.Now after reloading opcache, then active the plugin with your latest codes, I see this:
PHP message: WordPress database error Column ‘is_writeable’ cannot be null for query INSERT INTOwp_harrys_gravatar_cache
(size
,size_get
,get_option
,cache_time
,is_writeable
,file_get_contents
,fopen
,curl
,copy
) VALUES (1, 1, 1, 1, NULL, 1, 1, 1, 1) made by activate_plugin, do_action(‘activate_harrys-gravatar-cache/harrys-gravatar-cache.php’), harrys_gravatar_cache_activation, get_size_gravatar”I fix it by adding this below to your latest code and it’s working great now (deactivate->activate without errors):
//–insert–
if(empty($copy) || $copy==0){$copy=1;}
//–insert–
if(empty($is_writeable) || $is_writeable==0){$is_writeable=1;}`Thanks for your great support! (-:
Forum: Plugins
In reply to: [Harrys Gravatar Cache] MySQL insert error on 1st activationHi Harry Milatz,
I’m not sure if this is the global/local scope thingy, but I highly doubt it. My php.ini contents are mostly left default untouched after installing PHP7.0.2-1 FPM Debian build.
In line 59, function harrys_gravatar_cache_activation() called function get_size_gravatar first (containing the DB insert) before function get_copy_options (where $get_option and the rest gets declared) during activation.
May be you could simulate by deleting row#1 then refresh the admin panel? If the row#1 is missing, it will try to reinsert, in my case resulted in the NULLs.
Forum: Plugins
In reply to: [Harrys Gravatar Cache] MySQL insert error on 1st activationHi Harry Milatz,
Yes it still produce the same error after reinstall. I’m not sure if the PHP7.0.2 version I’m using would cause it? I haven’t got a chance to find out more but;
harrys-gravatar-cache.php:line:137:
if($nothing_set) {
$wpdb->insert($table, array(‘size’ => $avatar_size, ‘size_get’ => $size_get, ‘get_option’ => $get_option, ‘cache_time’ => $cache_time, ‘is_writeable’ => $is_writeable, ‘file_get_contents’ => $file_get_contents, ‘fopen’ => $fopen, ‘curl’ => $curl, ‘copy’ => $copy), array(‘id’ => 1), array(‘%d’, ‘%d’, ‘%d’, ‘%d’, ‘%d’, ‘%d’, ‘%d’, ‘%d’, ‘%d’));
}Above only $avatar_size and $size_get is being set in the function get_size_gravatar. The rest of the values like $get_option onwards are undefined when the table queried as empty ‘$nothing_set’.
Forum: Plugins
In reply to: [Harrys Gravatar Cache] MySQL insert error on 1st activationCorrection to the quick fix: INSERT INTO
wp_harrys_gravatar_cache
(id
,size
,size_get
,get_option
,cache_time
,is_writeable
,file_get_contents
,fopen
,curl
,copy
) VALUES (1, 67, 1, 4, 40320, 1, 1, 1, 1, 1);Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] WP Mobile APPHi MihChe,
You’ve fixed it in a flash! Now the android mobile WordPress app works with GoodBye Captcha.
Many thanks!
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] WP Mobile APPHi MihChe,
The issue is not with the login link. But if I were to try login with WordPress mobile app: https://play.google.com/store/apps/details?id=org.wordpress.android&hl=en
I have sent you my link.
Thanks.