Comments (10)
@janboddez It is in the readme.
syndication_links_display( true )
- Adds Syndication Links to content display.
Just add a false return to this filter.
from syndication-links.
Just FYI: the actual issue is definitely still present.
[10-Feb-2023 12:39:10 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in <...>/syndication-links/includes/class-syn-meta.php:97
Stack trace:
#0 <...>/syndication-links/includes/class-syn-meta.php(97): array_merge()
#1 <...>/syndication-links/includes/class-syn-meta.php(102): Syn_Meta::screens()
...
Reappeared the moment I reinstalled and activated the (latest version of the) plugin. (Presumably because the faulty setting is never purged, which is okay, as long as the code itself is able to handle it.)
from syndication-links.
I'll do the full array check then
from syndication-links.
Can give it another look later too. Might be sufficient to cast to an array, which I think would give you either an empty array or one with an empty string in it, at least until one or more post types are selected and saved. That would likely prevent the fatal error.
from syndication-links.
I have to upgrade my dev testing from 7.4 to 8.
from syndication-links.
@janboddez Check again?
from syndication-links.
I now get, or rather, got the error on the settings page only instead of it taking down the entire site. :-)
Mind you, I did not purge the settings from the database before reinstalling. Once I selected that first unlabeled checkbox and forced the form to submit, the error disappeared.
from syndication-links.
I'll have a look at the actual error as soon as I get the chance. (No longer actively using the plugin so it's not super urgent [for me] ...)
from syndication-links.
Tried the other way of dealing with this.
from syndication-links.
This works/no longer throws an error.
from syndication-links.
Related Issues (20)
- Re-syndicate when a post is trashed/deleted HOT 4
- Saving draft shouldn't trigger syndication HOT 5
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- Support Images in Syndication
- The plugin hasn't been tested with the latest version of WordPress HOT 2
- Add icon for Nostr HOT 2
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- The plugin hasn't been tested with the latest version of WordPress
- `mp-syndicate-to[]=bridgy-fed` works for likes and reposts but not replies HOT 3
- The plugin hasn't been tested with the latest version of WordPress
- Unselected providers should disable webmentions too
- Bluesky icon SVG replacement needed
- Add Bridgy publish Bluesky API key field and post checkbox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syndication-links.