tzdk
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] [Plugin: Lightbox Plus] Warning messagesNagging dev. is better option I think. When you need to debug you should be able to.
I tried to uninstall, delete data/files. Upon reinstall I got a bunch of notices in admin of Lightbox, but they went away after saving settings. All ok on front. When I re-enter settings page and click around there are many notices but restricted to that area.
PHP Notice: Array to string conversion in C:\UniServer\www\wp2\wp-content\plugins\lightbox-plus\admin\lightbox.admin.php on line 339I see a million times, zero on front. About 2.8kb is added to debug.log for every refresh of settings page, but only that line.
I use almost latest PHP 5.4 on local test site – version might have something to do with what is reported as a “Notice”. WP 3.6 beta or not could also play a role.
Or may be there are evil combinations of settings spitting out more notices than normal?
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingWell that is plenty to start with.
No I am far from a WordPress Dev. but I also have standards for what make a dev π I have seen a dev. ask “Is it reasonable that I should use Firebug for this???”, he was in a hurry, you know “client work”. Others are geniuses. I do not know what title mean.
You can use http://www.webpagetest.org/ for optimization tests. And Chrome Page Speed, Yslow. Pingdom for super fast tests http://tools.pingdom.com/fpt/
Find some browser tools that can make things faster. View Dependencies for Firefox is one https://addons.mozilla.org/en-US/firefox/addon/view-dependencies/ A bit broken right now as it does not show file sizes but click,click and there you have a list of every file loaded. From images to jQuery. Troubleshooting is to look at screen π
Chrome dev. tools can do lots of things http://discover-devtools.codeschool.com/ tells you this is “light” troubleshooting you want to do. Can go much deeper. But then easy becomes debatable.
Firebug still better for HTML/CSS – will be the case until Firefox build in tools are done. But use either one, or both.
For CSS you can check these
http://caniuse.com/
http://css3please.com/
http://csslint.net/ (click arrow, uncheck all boxes, then LINT)
http://css-tricks.com/
http://www.impressivewebs.com/
http://www.css3files.com/
http://webplatformtools.org/
http://webdevchecklist.com/About WordPress just use Codex. If you dont know what hooks/filters are this is good intro
http://wp.tutsplus.com/tutorials/the-beginners-guide-to-wordpress-actions-and-filters/
http://www.kathyisawesome.com/455/wordpress-filters-fundamentals/
http://www.kathyisawesome.com/412/thematic-hooks-and-functions/Once you get that rest comes easier. Themes like Thesis will have own termionology so dont get hung up on hook/filter names. You only need to get how it works. Is important because used big time by themes/plugins. Also kind of make it easier to understand how PHP spit out site. Can be big mess of code coming from all directions.
Also you can look for plugins to help, like
http://wordpress.org/extend/plugins/error-log-monitor/
http://wordpress.org/extend/plugins/log-deprecated-notices
http://wordpress.org/extend/plugins/p3-profiler
http://www.wordpress.org/extend/plugins/duplicator
http://www.wordpress.org/extend/plugins/plugin-notes
http://wordpress.org/extend/plugins/wordpress-database-reset
http://wordpress.org/extend/plugins/demo-data-creator
http://wordpress.org/extend/plugins/config-constants/There are many more, like Debug Bar + add-ons for it.
Some is mainly for local test installs, or online for that matter. You should not reset live site! You should also never test on real site. Go crazy on temporary test sites. Take few minutes to set up.
Always good to have real time view of PHP memory usage and MySql requests
http://wordpress.org/extend/plugins/info/
Go for big wins like images. And what about your host? Site seem to run nginx so may be you can tune that a bit. HTML5Boilerplate have “curated” setups for servers like nginx https://github.com/h5bp/server-configs/tree/master/nginx But check with host, they have forum? Then see what people with SAME account type as yours are using with WordPress. May be there are hints about caching pluigns.
Not much point in optimizing site if it gets dragged down by wrong setup. You should be able to check via host.
Avoid messing with JS/jQuery like minifying or moving them to footer. Can be done and is also easy but not for you right now π
Be very sceptical about plugins. Not only test them but research as much as you can. Often you can find signs that a plugin or plugin dev. is not approved. You can easily run 100 plugins, no benefit in holding back – but they must be good! Ignore top lists, silly stars and download counter, is not necessarily anything to go by.
Sadly it is not mandatory for devs. to list which JS/jQuery/CSS file plugin loads. I would trade “Review” tab for that any day. I think humanity will win. But not here so you do it. Always check this. Prevent conflicts and make you aware. May be opposite dev. who still use 2 year old version of what ever.
Not so difficult to throw out links but not always a big help as 1. You need to use them correctly and 2. If output requires interpretation you might get it wrong and then things go to hell. Can happen with something as simple as a HTML validator check. Some think they MUST have no errors. Like some think they must score 100 out of 100 on speed tests. Rarely possible without cheating, but you can and should get close.
Be careful about micro-optimization though. If you get obsessed with number juggling you probably end up with a site that seems to be made in Notepad. Rip stuff out and numbers improve. Fantastic, just like some fast responsive sites does, heh. Big ass web font though! Very boring and weird logic. But evaluate input vs. output. There are ways to allow many more script to load without actually impacting performance. Look up conditional tags http://codex.wordpress.org/Conditional_Tags. Is another huge part of WordPress you should get. Simple logic, if X is only used on Y page then only load scripts on Y. Win. Some plugins do this already. There is more to this but pretty important to understand idea behind it. Depends on site but as a rule go with intelligent plugins that load scripts conditionally. Then you dont have to mess with things.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Clicking background to close lightboxIf “Maximium Width”, “Maximum Height” and ticked “Resize” setting are among those you have tried I dont know. Settings work here and give expected space around images. 90-85% should do.
You can also make own theme or improve existing one. But look weird when image take up whole screen. If those outside border creating percentages does not work you should complain.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingYou should look for best tools/plugins/themes and sources of valid current info. Give and take a bit as this is not exact science.
All these issues come from you skipping steps not from lack of freelancer. They should only do what you cant possibly do your self, like adv. custom coding of what ever. Not this easy CSS/JS/site optimization stuff. Comes with self-hosting status so dig in π
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Cannot read property 'rel' of undefinedProblem could be this http://richiemadden.com/wp-content/plugins/awesome-flickr-gallery-plugin/colorbox/jquery.colorbox-min.js Flickr gallery load an outdated version of Colorbox also used by Lightbox. 2 of them is 1 too many. However, if you deselect Colorbox in Flickr it should not load.
http://wordpress.org/extend/plugins/awesome-flickr-gallery-plugin/changelog/
[BUG FIX] Do not include Colorbox script if it is not enabled.
See “Slideshow behavior” under “Gallery Settings” http://s.wordpress.org/extend/plugins/awesome-flickr-gallery-plugin/screenshot-4.png
There could be other conflicts but this seem like an obvious one and you did not say this is not relevant π
What is weird is that you have both Colorbox and the alternative script Highslide.js loadet. Must be a bug if you use latest version.
Colorbox dev. has gone crazy with updates lately https://github.com/jackmoore/colorbox#changelog so this Ligthbox is also behind the times but for understandable reasons. Flickr Galllery dev. is behind for real. Plugins/Themes using external scripts but then do not bother to update them, while they do make “normal” updates set off my dev. alarms. Never a good sign.
AAaaarg, I leave above idea but I think your issue is wrong load of jQuery
First problem:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>Which is fine but where is migrate.js? Old Colorbox is not compatible with jQuery 1.9.1, why you get errors I bet.
http://jquery.com/download/ They are twins! WordPress 3.6 will also come with both.
Funny that Google does not host migrate.js, more stupid than funny.
Second problem:
You ALSO load default jQuery 1.8.3 from WordPress.
http://richiemadden.com/wp-includes/js/jquery/jquery.js
Well you can remove that line with Google and at least you know default will be there.
Or you can remove line with Google and go with CloudFlare CDN instead
add_action( 'wp_enqueue_scripts', 'jqueryfix' ); function jqueryfix() { wp_deregister_script( 'jquery' ); wp_enqueue_script( 'jquery', 'http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js', array(), NULL, FALSE ); // wp_enqueue_script( 'jquery-migrate', 'http://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/1.1.1/jquery-migrate.min.js', array(), NULL, FALSE ); }May dual Colorbox setup will work but only may be, why I left initial idea. Includes nagging Flickr Gallery dev. to get with the times and fix possible Colorbox load bug.
Hmm, may be you can leave Colorbox enabled in Flickr Gallery but then deregister script itself. Is already available from Lightbox.
You can try
add_action( 'wp_enqueue_scripts', 'unload_colorbox_flickrgal' ); function unload_colorbox_flickrgal() { wp_deregister_script( 'afg_colorbox_script' ); // wp_deregister_style( 'afg_colorbox_css' ); }Actually “deque” might be more correct
add_action( 'wp_enqueue_scripts', 'unload_colorbox_flickrgal' ); function unload_colorbox_flickrgal() { wp_dequeue_script( 'afg_colorbox_script' ); // wp_dequeue_style( 'afg_colorbox_css' ); }But I dont know, only looked up what he calls files. Never tried plugin.
Commented out unload of CSS for Colorbox. Should they now be the same? Then no reason to load 2.
A good question is why old Colorbox work right now as you load incompatible jQuery 1.9.1. Dont know but I guess 1.8.3 comes out on top or it act as a sort of migrate thingy. Is a mess though, you should go with one or the other, not both. And if 1.9.1 then also include migrate.js Certain features are removed from 1.9.1 so migration tool needed. Some/many WordPress devs. have ignored “deprecated” status for too long π But not just WordPress problem, why they beg people to use that file.
http://blog.jquery.com/2013/01/31/jquery-migrate-1-1-0-released/
Judging by many of the questions and bug reports weβve gotten, far too many of you are trying to do an upgrade to jQuery 1.9 without also using jQuery Migrate. Stop hitting yourself! We created this plugin to make things easy on you. Just include the plugin after your jQuery file to see if it gives you any warnings. The updated jQuery Migrate plugin is available on jQueryβs CDN, and should be available on the Google and Microsoft CDNs within a few days:
Google?
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingEWWW is a bit temperamental. I just got it to work with no PHP warnings, or rather dev did. Can try again if you did not test latest version. Smush-it has new dev so guess that does same job.
Site is ok I think but that button at the top? Is a bit screwed. Check this http://i.imgur.com/TREMk45.png I like that better.
Is tricky as CSS for button come from plugin using Twitter bootstrap CSS, then adds some stuff of its own and your theme CSS is also part of it.
This is current code or some of it for “Get it now” button, the element I changed
#wsb input[type="submit"] { font-size: 16px; height: 26px; line-height: 10px !important; }And this is what I used for image.
#wsb input[type="submit"] { font-size: 16px; height: 32px; margin-top: -3px; padding-top: 6px; line-height: 21px; /* For Chrome? */ } .btn:hover { background-position: 0 -30px; /* Is now 0 -15px */ }Not sure how they can know value of btn:hover as it will depend on button values. Now only 50% of button get new background on hover. Looks better with 100%. But check image and fiddle.
Test in all browser, there can be small differences and what I did might now be correct. Need to improve button somehow though.
Should probably be more specific with the background trick. There is
.button.red:hover, input[type="submit"]:hover, #cancel-comment-reply-link:hoveralready and it seem to work as well. Can add more in front like “#wsb” so it only works on THAT button. You figure it out…
Forum: Plugins
In reply to: [Easy] Widgets Lose Drag-and-Drop Under 3.5-RC1I just installed and found this. I am not among many, which is nice but not in this case.
No dragging possible.
Fix for me:
Remove
.ui-draggable-dragging *{display: none}Does it do anything useful?
Works without the star btw.
With this line nothing is draggable under “Available widgets”. Is ok in Sidebar and Inactive Widgets.
Same weirdness in 3.5.1 and 3.6
No JS errors.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingAnd your logo
1.177px Γ 353px (scaled to 347px Γ 104px)
Associated text: How To Get the Perfect Logo Designed
Hmm.
Especially for static images like logo you should optimize. Almost dumb not to. Logo is now 75kb but if you resize to 357×104 or so – plus run it through tinyPNG it becomes 14.3kb. 72% smaller than my resized image site says. Good deal.
Static is one time only, normal image handling can be automated – in one way or another. EWWW is really nifty. If on shared server keep finger off better compression levels though. Things can break. I have done it, site does not go down but PHP warnings go crazy (mysql server has gone away…) and such. Default compression is decent, like WP-Smushit I think. High level is spectacular for strong servers not weak shared. Also host can get very annoyed so take it easy.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Lightbox no longer workingYou are slowest optimizer I have seen in 2013. But yes you can always find something. 2 things I think you should fix:
In Thesis CSS file http://www.startupbros.com/wp-content/thesis/skins/marketers-delight1/css.css scroll down to line 484 where “/* reset header menu */” starts. This line
ul.header-menu ul.sub-menu { background: none; border-color: rgba(255, 255, 255, .2); border-width: 0 0 0 1px; margin-left: 24px; padding: 0; position: static; visibility: visible; $remove_shadow; }ends with
$remove_shadowand is not CSS code. Must be breakage in Thesis machine.At line 498 in section below there it is again.
You dont seem to use this code so do not notice. But you will when you do.
Then a good one. The cloudflare jquery 1.7 is still there but loads from a script you have hidden in a sidebar widget
Try this
#text-9 {
background: red;
height: 200px;
}And there it is, red spot under search widget. “Punchtab” must ring a bell?
<div id="text-9" class="widget widget_text"> <div class="textwidget"><script charset="utf-8" type="text/javascript"> var _ptq = _ptq || []; var _punchtab_settings = { key: "684c4022f6ab8d7a0acc6ae67da7ea9a", bar: {} }; (function() { var pt = document.createElement('script'); pt.type = 'text/javascript'; pt.async = true; pt.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.punchtab.com/js/pt.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pt, s); })(); </script></div> </div>I have no clue what it is. But their code from external site calls no. 4 jQuery from previous post. If you check in Chrome you can see refererer is
http://www.punchtab.com/mast/connect2?key=684c4022f6ab8d7a0acc6ae67da7ea9a&version=1&language=&xdm_e=http%3A%2F%2Fwww.startupbros.com&xdm_c=default1632&xdm_p=1They are not too smart then. Or did you not follow instructions on how to use their stuff on a self-hosted WP site? One or the other.
Other than this I dont think there is anything weird. Tons of connections to 3rd party sites but it seems fast enough. Gzip is on. Might want to check with Thesis forum/support about non-CSS code in CSS file.
I was wrong. Your images are not optimized at all. Try run page speed in Chrome. The cat one for example. Is nearly 700kb – almost seem like a jpeg saved in a strange way. In PS go with “Save for web…” or what they call it. There tools and online services for this. JPEGmini, tinyPNG and more. What ever it can be like 50kb, 100kb tops. So you should or could process images offline, try to keep WordPress from resizing them. Make images that fit like a glove – so they are inserted as “full”. A bit funky to mess with. Can set “full” to be max width with no sidebar, “large” to max width with sidebar. Get headache about this but it means quite a bit for performance. If 80% perfect or 90% is of no concern but all wrong is crap.
Image with books
1.024px Γ 682px (scaled to 600px Γ 400px)
That would annoy me. Should be 600×400. Size for that one not too crazy. This is where you could insert “large” which would be 600×400 = max size with sidebar. Or you can make own image category/format/size. There are plugins for this. Cant just change, nothing will happen. Must regenereat thumbnails, everything not full is a thumbnail. Deal with it π I never understand that concept.
http://wordpress.org/extend/plugins/ewww-image-optimizer/ is brilliant and automate much of this. IF it works on your server, test.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139I would just ignore this – until dev. has made an update and error is still there. Then nagging starts for real π Is not a permanent notice and is not even an error or warning. If it was why are there warnings and errors? A notice can be sign of something problematic that should get fixed but not like it break site.
Reminds me of http://core.trac.wordpress.org/ticket/23255 I use a framework that allow you to filter in new get_template parts based on what ever you tell it to look for. This http://dev.themeblvd.com/tutorial/incorporating-post-formats/ show how to make new templates for specific post formats. Ok, so when told to add new template part for a format, like “link” – it will do that. Works 100% but there is a “Trying to get property of non-object, line 768” in post.php notice, only WHEN on a category index/archive page. “Checking of post format” in other words, see the file. I tried all sorts of things, thinking internals were broken. I dont think so as the “fix” in trac remove notice. “Fix” is not approved of, though core devs. also will say a notice is sort of an error right?, but in “nightly” WordPress 3.6 code for post-format checking in post.php is split out in to a new post-formats.php. So I wait it out.
A bit more weird than what you have but things can be more complicated than they seem, also for plugin devs. π
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139Sounds like a normal trial and error session π Yeah good code editor is a must. Automaticated removal of white space when saving is nice.
Well I see latest jQuery + migrate.js loading and site is at least visible.
This will work perfectly but weakness of this manual take over is of course you must also manually update version numbers – as jQuery and WordPress move on. Not doing that is why dusty themes/plugins doing this are horrible. Even worse if they hard code load. You can handle your self but never forget.
Good you realize you need new updated theme – either that or extensive look under the hood which might not be fun. I tried to locate dev. but he seem to have moved on. Theme is a bit special so could be you would do what ever to avoid touching anything. Will go wrong at some point.
You must have some tinkering needs inside or you could never have tried this. Or survived broken PHP. So may be get flexible theme, even a framework. Ready made themes can save you many hours though – each to their own.
I dont really get why you see that notice if debug is off, display errors is off. Must be set by PHP.INI then. Try locate and check. This is from mine
; Print out errors (as a part of the output). For production web sites,
; you’re strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = OffPossible you have access to this setting via some control panel at host.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139One more post as I just had an idea. Remove both jQuery 1.8.3 and jQuery 1.7.1. Then load jQuery 1.9.1 + migrate.js http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/
Migrate.js is most interesting https://github.com/jquery/jquery-migrate/#readme
What make me confused about what it can do is this
The plugin can be included with versions of jQuery as old as 1.6.4 to identify potential upgrade issues via its JQMIGRATE console warnings. However, the plugin is only required for version 1.9.0 or higher to restore deprecated and removed functionality.
So there might be a chance migrate.js fix compatibility issues between jQuery 1.7.1 and 1.8.3 – or what? It is only active on 1.9.x?, logs on older? How much does it “migrate”? I dont know. You cant fix script code so this is a workaround, may be… Best is you will only have 1 jQuery loaded.
You have to deal with this as WordPress 3.6, may be even 3.5.2, will come with jQuery 1.9.x and migrate.js And then what? Test sooner than later is good tactic.
Best is not to use conflicting deprecated wrong crappy code. Truth is you need new modern theme right? – except you dont want to change! And where did developer go btw? π Can almost only go downhill if you “dont want or can change” and code is dusty.
If ??? then good because you should not risk breaking stuff, but all you need is a little plugin or functions.php, preferably one in a child theme but I somehow doubt that will be the case. Just make a plugin. https://codex.wordpress.org/Writing_a_Plugin#Standard_Plugin_Information and there it is. Under that you paste something like
add_action( 'wp_enqueue_scripts', 'jqueryfix_perhaps' ); function jqueryfix_perhaps() { wp_deregister_script( 'jquery' ); wp_enqueue_script( 'jquery', 'http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js', array(), NULL, FALSE ); wp_enqueue_script( 'jquery-migrate', 'http://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/1.1.1/jquery-migrate.min.js', array(), NULL, FALSE ); }Upload to a new folder under /wp-content/plugins/ and you can activate/disable as normal. You are now plugin author.
No problem getting rid of jQuery from WordPress but I dont know how to remove the one from jbox. This you will have to remove:
<!-- MAIN JQUERY LIBRARY -- REQUIRED for menu !! --><script type="text/javascript" src="http://www.edparton.com/blog/jbox/js/jquery1.7.js"></script>Is what view source says. I smell old π This is likely hardcoded and you might have to edit source file of plugin or what it is.
What you say break “menu” might not be a whole lot, I bet it can work with jQuery 1.8.3 and 1.9.x but who is going to fix? And does it make sense if theme is abandoned? Seems to be? What else is outdated is relevant question. Forcing new jQuery 1.9.1 is not really a solid solution. Migrate.js is not permanent fix but a big hint you need to change/update code, contact dev. Here may be find new theme? Migrate.js will be essential file in upcoming WordPress but also kind of hide problems. Not sure you even see what it does unless “dev” version is used. In your case it might make sense to try this, but if theme dev. has site covered in old jQuery code, and is gone!, I think you should start looking for something current. If it works it is only temporary fix.
I would try this trick though π Some say dont even think about changing “core” jQuery, but right now that is bogus as TONS of issues will pop up with 1.9.x comes with latest WordPress. Devs. are “supposed” to test. And a minority will… You are also supposed to help developers right? π Be certain those coding WordPress code have tested already, are testing. You WILL get jQuery 1.9.x so deal with it, heh. If you soonish want to deregister jQuery 1.9.x + migrate.js on shiny WordPress 3.6, return to old “working” combo of jQuery 1.7.1 + 1.8.3 you will be on your own I think π
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139About the external trick I have used this plugin before http://wordpress.org/extend/plugins/wp-external-links/ Long time ago. It got some problems and dev. seem to be on long vacation. Now updated several times, last time minutes ago. Pretty sure I did some extensive plugin testing and this won. Another is http://wordpress.org/extend/plugins/bwp-external-links/ – a bit more features than one would expect π
If you test make sure you remove targetblank.js and what I think is broken snippet.
Own snippet must be wrapped between
jQuery(document).ready(function($) { // here goes your code });See http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers You soon find out if there are errors.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139Well it is risky business running more than 1 jQuery, much worse than notices from PHP I think. Now I see why some freak out about notices because I feel your site is broken if it require 2 jQuery versions, heh. Actually it is very common to have 2 but then it will be because out of your control. If you embed what ever that external script can load version no. 2. I dont know how well jQuery or jQuery code can limit itself. I dont trust more than one.
But there are more “errors” with Lightbox Plus π I get 3 on a “rrr” search, 2 is pointing to same line though.
Notice: Undefined property: WP_Query::$post in C:\UniServer\www\wp2\wp-content\plugins\lightbox-plus\lightboxplus.php on line 196 Notice: Trying to get property of non-object in C:\UniServer\www\wp2\wp-content\plugins\lightbox-plus\lightboxplus.php on line 196 Notice: Trying to get property of non-object in C:\UniServer\www\wp2\wp-content\plugins\lightbox-plus\classes\actions.class.php on line 78I did mean you can Google. See how WP core fixed the first, http://core.trac.wordpress.org/attachment/ticket/15059/fix-undefined-property-post.diff Undefined variable, undefined index, non-objects – all about the same I guess. Loads of hits. “Dont ask for what is not possible to answer or I will notify your logfile” seems to be what its about.
Dont remember error but here is how I fixed one of them in another plugin
// if ( 'checked' == $widget_logic_options['widget_logic-options-filter'] ) { if ( isset( $widget_logic_options['widget_logic-options-filter']) && 'checked' == $widget_logic_options['widget_logic-options-filter'] ) {First line give error so id commented out.
So you can get the idea of this and race through all plugins. Or ignore until dev. fix. Of course not without risk to start editing source files.
I use similar external trick but I think a better one, check this http://stackoverflow.com/a/12042162/1024532
I cut it down a little. Also had to exclude things. Imagine a lightbox with a Youtube. That is not external and yet script think it is. Will I ever want what ever external action on a lightbox link? I think not. Check the link which is where I got it from.
// http://stackoverflow.com/a/12042162/1024532 $.expr[':'].external = function(obj) { return (obj.hostname != location.hostname) && !obj.href.match(/^javascript\:/) } $("#content").find("a:external").not("#content a:external[rel^='lightbox']").attr('target', '_blank');Your theme is a bit weird as it use both #content and #content2 so above wont work. You should change #content to
#contentwrapcan usebodyas well but idea is to limit area of what to work on. To speed up jQuery 0.1ms. Just like with notices we aim high πForum: Plugins
In reply to: [Lightbox Plus Colorbox] actions.class.php on line 139I think it check for posts ID and since there are none WordPress complains of being asked to do something stupid. If you check that file you can imagine error going away if he add
&& !is_404()to the!is_admin()part. Will Lightbox ever load on a 404 page? May be but not based on post IDs. Or you could show posts on a custom 404 page heh.But this is a notice not error or warning – and not uncommon. You can google it! but of course best to get it fixed by dev.
May be you show message on purpose but best to hide PHP logging from public, http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_DISPLAY Debug off is std. setting for working site as well.
Check Hyper Cache changelog to find out why some devs. do not follow just ANY notice. He gave up but this was not news to him. I am fairly sure his “undefined index” “error” is in family with what you see. A typical notice.
Until you find out what this dev. think fix this:
$('a[@rel$='external']').click(function(){ this.target = "_blank"; });may be
$("a[rel='external']").click(function(){ this.target = "_blank"; });but may be not at all because you already have a targetblank.js file loaded
http://www.edparton.com/blog/targetblank.jsSo just remove not working snippet. Check Javascript Error Console in browser.Also
http://www.edparton.com/blog/jbox/js/jquery1.7.jsis not wanted as you alread load right one, version 1.8.3 from WordPress install. I dont know what jbox is, hopefully you do.