offisapup
Forum Replies Created
-
No prob.
Did turn WP_DEBUG off — we’re not developing in that site, but I have scripts running that update WP and plugins without hands-on every night, so I tend to leave
WP_DEBUGattrueto catch problems …/offisapup
Sent …
Nope, sorry. 2.9.8.5 shows the same …
… and now it shows up at the top of pages … https://edgi.se
… and no, that does not change the behaviour; same deprecation warnings, but now
wp plugin listsees version 2.9.8.4.It’s in wp cli, e.g.
[root@meb-web01 edgi]# wp plugin list Deprecated: Required parameter $feed_settings_array follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951 Deprecated: Required parameter $required_plugins follows optional parameter $save_options in /data/www/html/edgi/wp-content/plugins/feed-them-social/includes/feed-them-functions.php on line 1951 Deprecated: Required parameter $plugin_identifier follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46 Deprecated: Required parameter $item_name follows optional parameter $_api_data in /data/www/html/edgi/wp-content/plugins/feed-them-social/updater/updater-check-class.php on line 46 Deprecated: Required parameter $location follows optional parameter $fb_type in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 869 Deprecated: Required parameter $fb_shortcode follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346 Deprecated: Required parameter $post_data follows optional parameter $fb_post_id in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 1346 Deprecated: Required parameter $more follows optional parameter $num_words in /data/www/html/edgi/wp-content/plugins/feed-them-social/feeds/facebook/class-fts-facebook-feed.php on line 2024 +------------------+--------+------------------------------+----------+ | name | status | update | version | +------------------+--------+------------------------------+----------+ | carousel-slider | active | none | 2.1.0 | | feed-them-social | active | version higher than expected | 2.9.8.10 | | google-site-kit | active | none | 1.75.0 | +------------------+--------+------------------------------+----------+… which incidentally shows we’re running a future version … Is this actually 2.9.8.1.0? I guess I should try to force an update to 2.9.8.4 …
Forum: Fixing WordPress
In reply to: Stuck in Code Editor — no menu to changeIf you sharing users between WP installs, you need to share both the user table *and* the user_meta table.
I have (now)
/* local mods */ /* use a common users table */ define( 'CUSTOM_USER_TABLE', 'wp_users' ); define( 'CUSTOM_USER_META_TABLE', 'wp_usermeta' );in all WP installs … and I had to do some fairly complicated merging of the old, site-specific, user_meta tables.
Installed, and thanks, yes, it works!
Cheers!
Dug around a bit …
Need to point out that this is *not* a multisite.
The error is because the code seems to assume it can use
get_network()and get null back to test for a multisite — butget_network()crashes as WP_Network is not loaded on a standalone site.Oops, should have marked it Resolved, too …
OK, I yield 🙂
You’re right, uncommenting the elsif works now … So it was something cached, somewhere, after all … I did chck that the rest is completely identical to the download.
Thanks for your patience. You might want to look into giving a more descriptive error on an expired token, tho 😉
The access token was working (as far as the FTS admin page knew, at least …). And the site does not have any caching turned on …
The warnings are quite specific — they led me straight to a non-functional row in the code, and when I commented that row out, the plugin started working.
Are you sure the code *you* are running is the same I downloaded from https://ww.wp.xz.cn/plugins/feed-them-social/?
It was only showing the warnings … No Insta stuff 🙁
The shortcode:
<?php echo do_shortcode('[fts_instagram instagram_id=<...> access_token=<...> pics_count=6 type=basic super_gallery=yes columns=3 force_columns=no space_between_photos=1px icon_size=65px hide_date_likes_comments=no]'); ?>Forum: Fixing WordPress
In reply to: Stuck in Code Editor — no menu to changeOK — solved it!
All the sites (single installations, as well as the multisite) share the same user table — they need to share the usermeta table, too. Otherwise the code that selects the editor can’t pick up the ‘rich_editing’ user option, that is apparently set on creation of users.
So: do not set ‘CUSTOM_USER_TABLE’ without setting ‘CUSTOM_USER_META_TABLE’ at the same time.
Forum: Fixing WordPress
In reply to: Stuck in Code Editor — no menu to change… and furthermore — it doe not show the “Editing code” label at top left, nor the “Exit code editor” link.
Something in the setup/delivery of the site makes the editor javascript code decide there’s no support for blocks? What?