flacoman91
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Footnotes] easy-footnotes.php: Undefined offset: 0 errorok, thanks for your help.
I started deactivating all of the plugins on my site.
I have Yoast SEO installed as well. It seems that when it is enabled the error gets thrown when I save or update a post.Deactivating it does not have the error appear.
Doing a
var_dump($shortcodes);
die();
just shows an empty array.
array(2) { [0]=> array(0) { } [1]=> array(0) { } }line 72 is just
if ( $content === $shortcodes[1][0] ) {
Yes, just checking if the value exists fixes the error/warning.
Thanks.
Forum: Plugins
In reply to: [Easy Footnotes] easy-footnotes.php: Undefined offset: 0 errorI’m just trying to save a post in the standard WordPress dashboard.
After I hit Publish/Save, it goes to white screen. with the following errors.
I have WP_DEBUG turned on in wp-config.php
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php on line 72
Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/easy-footnotes/easy-footnotes.php:72) in /var/www/html/wp-includes/pluggable.php on line 1216
Forum: Plugins
In reply to: [Easy Footnotes] easy-footnotes.php: Undefined offset: 0 errorhi, here’s example post content for this that is throwing the error on save
Lorem ipsim lorem lorem [note] test test test.[/note]: aasdfsdfsdaf fsad fdsa fdsa fdsa fadss.[note]Ndsafdasfdsafds6, Statistica, 2016.[/note] It ifasdfdasfsadthly active users,[note]J. Constine, How Facebook Messenger clawed its way to 1 billion users, TechCrunch, 2016.[/note] alrsadfdsafdsafsd
Forum: Plugins
In reply to: [Stop User Enumeration] google pagespeed improvements – remove frontend.jsAwesome. Tested and it works.
Thank you. I bumped up my site’s pagespeed score by 3.
Have a great day!
- This reply was modified 6 years, 9 months ago by flacoman91.
Forum: Plugins
In reply to: [Stop User Enumeration] google pagespeed improvements – remove frontend.jsThanks!
I am using the latest version of both WP and the plugin Version: 1.3.14.
No rush, take your time.
great. thanks for the info.
Forum: Plugins
In reply to: [Stop User Enumeration] missing scripts and js enqueue?thanks!
Thank you. that was a good hint.
Using the referenced solr documentation
https://cwiki.apache.org/confluence/display/solr/Highlighting#Highlighting-UsageI was able to use a filter and set the hl parameter to false. This disabled the highlighting for me.
add_action( WPSOLR_Events::WPSOLR_ACTION_SOLARIUM_QUERY, array(
$this,
‘set_custom_query’,
), 10, 2 );public function set_custom_query( $parameters ) {
$query = $parameters[ WpSolrFilters::WPSOLR_ACTION_SOLARIUM_QUERY__PARAM_SOLARIUM_QUERY ];// disable highlighting in title and content
$query->addParam( ‘hl’, false );}
thanks! I was able to figure it out and put in the correct reference to class name
Forum: Plugins
In reply to: [HTTP Headers] Multisite settings config needs to have proper urlbravo! thanks for quick response and also for cleaning up the settings panel.
Great job. thanks!
Forum: Plugins
In reply to: [Facebook Comments] Undefined index: old_sdkI also found this error.
This should be patched.
That line 39 can be changed to:if (!empty($options[‘old_sdk’]) && $options[‘old_sdk’] == ‘on’) {
Forum: Plugins
In reply to: [JSON API] Bug report: get_bloginfo('home') deprecated in attachment.phpMrCollins, If you fix the errors in each of the 2 posts I had above, the plugin should run without any errors.
Forum: Plugins
In reply to: [JSON API] Bug report: get_bloginfo('home') deprecated in attachment.phpAnother warning appears on the json api config page:
Notice: Undefined index: url in /Users/flacoman91/Sites/wordpress/wp-content/plugins/json-api/singletons/api.php on line 175
https://harmony.sonymusic.local/wp-admin/options-general.php?page=json-api
just a simple check if url is a valid index fixes the error:
if ( isset($info[‘url’]) ) {
Forum: Plugins
In reply to: [WP XHProf Profiler] Does not function at all in WordPress 3.5I just installed it on mine, and it works.
Here’s some tips to get it working
Did you install xhprof on your apache install? It was kind of a pain to get this installed.
Did you set wp_debug to true in wp-config.php ?Hope that helps.
Forum: Plugins
In reply to: [Facebook Comments] How to Reduce Space Underneath these Comments?You should be able to do it through css. There’s also an issue with the FB Comments box from Facebook when it detects a mobile user agent. (Not the fault of this plugin, but Facebook’s mobile comments box). There’s a huge whitespace appearing under the box if when this happens.