Justin Frydman
Forum Replies Created
-
Actually the only version that still works for me is 3.3.
Forum: Plugins
In reply to: [Cloudflare] blank settings page. 3.0.3Hey John,
I posted my error logs above for you and in the Cloudflare ticket. I got a 500 error when updating which takes down the entire dashboard. Currently reverted to 1.x.
Thanks!
Forum: Plugins
In reply to: [Cloudflare] blank settings page. 3.0.3I am experiencing 500 errors when updating to 3.0.3, ticket ID #1215708.
I’ll post some non private information here:
PHP 5.6.24
Wordpress 4.6.1
Cloudflare WordPress plugin 3.0.3
Also Using Cloudflare SSL plugin if that’s relevant.Error log upon updating:
[22-Sep-2016 05:06:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘\CF\Hooks\Init’ not found in /home/xxxxx/domains/xxxx.com/public_html/wp-includes/plugin.php on line 524
[22-Sep-2016 05:06:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘\CF\Hooks\AutomaticCache’ not found in /home/xxxxx/domains/xxxx.com/public_html/wp-includes/plugin.php on line 524
Hey Flyhead,
miiitaka might be really busy, but I’ll try to help. Generally if you’re duplicating the same schema on the same pages it wouldn’t be a good idea. However, you can enable or disable specific schema with this plugin if you already have existing schema.
This plugin does not support bbpress.
Hope that helps.
Forum: Plugins
In reply to: [Markup (JSON-LD) structured in schema.org] Missing Image in BlogPostingThat’s a good point, if we provide a default image it will most likely be ignored as it does say “The representative image of the article. Only a marked-up image that directly belongs to the article should be specified.”
According to this Stackoverflow post, the validation is really specific to what Google wants, rather than just valid schema. So we could just include Article schema without an image, but it would probably be ignored by Google:
http://stackoverflow.com/questions/33069318/schema-org-microdata-image-required-for-article
Thoughts?
Forum: Plugins
In reply to: [Markup (JSON-LD) structured in schema.org] Missing Image in BlogPostingI’ve added this to our issue queue on Github: https://github.com/miiitaka/wp-structuring-markup/issues/112
@thejazzpiper can you let me know if the 2.4.2 is still good for you?
You’re welcome! I’ve put in a pull request for a permanent fix for this. Give miiitaka a bit of time to test and you should see a new version at some point.
Feel free to close this as resolved and open a new thread if you have any other issues.
Sorry, I was mistaken, attachment_url_to_postid() is definitely an uncached function. I’ll put in a pull request in the next few days.
In the meantime you should be able to just disable that code for now until an update is available. Edit this file on your install: https://github.com/miiitaka/wp-structuring-markup/blob/develop/includes/wp-structuring-display.php
on line 145:
if( $image = wp_get_attachment_image_src( attachment_url_to_postid( $url ), 'full' ) ) { return array( $image[1], $image[2] ); }comment the code out so it looks like this:
/*if( $image = wp_get_attachment_image_src( attachment_url_to_postid( $url ), 'full' ) ) { return array( $image[1], $image[2] ); }*/and the other functions should take over.
After reading your other post, is this also solved? I was thinking you might have some plugin conflicts as the plugin is working fine on my installs.
Additionally, you could install https://wordpress.org/plugins/query-monitor/ and post the results of any queries that come up as red (slow)
I wrote the image code and I don’t think it would be that as it was just updated to first try wp_get_attachment_image_src() then curl, then the original method, none of which should hit MySQL.
Try upgrading again and disable all the schemas and enable them one by one to see if a certain one causes your mysql load spike.
Forum: Plugins
In reply to: [Markup (JSON-LD) structured in schema.org] Local BusinessMarkupWe’re going over this right now on Github to fix the wording, “Fixed Page” is actually all WordPress Pages, i.e. using is_page() https://developer.wordpress.org/reference/functions/is_page/
This should answer your question http://webmasters.stackexchange.com/questions/46680/using-schema-org-for-blogging-article-vs-blogposting
You should be only using one or the other.
1) which rich snippets? I don’t believe this plugin has that capability
2) I don’t believe so.